diff options
author | Harvey Tuch <htuch@google.com> | 2016-10-11 10:04:53 -0400 |
---|---|---|
committer | Harvey Tuch <htuch@google.com> | 2016-10-24 11:16:15 -0400 |
commit | 8cdf17a620a2d0909c1785717d5b3d8cff1248fd (patch) | |
tree | dbb3d57d4873a72ec8a4fae155e0e864c7fc487c /tools/run_tests | |
parent | 1445c479013a997a2fa41bfd09a5219298c4c3d8 (diff) |
Introduce a grpc-exp ALPN protocol identifier.
This patch introduces an additional ALPN protocol, grpc-exp, intended to
take preference to h2 and indicate to the server that the connection
contains only gRPC traffic. This allows servers and intermediate boxes
to distinguish gRPC from other HTTP/2 traffic.
The choice of grpc-exp as a protocol identifier indicates that this
scheme is currently experimental and should not be relied upon. The
protocol is not in the IANA TLS registry.
This patch also introduces client/server handshake tests that validate
the preferential treatment of grpc-exp in an end-to-end manner.
Diffstat (limited to 'tools/run_tests')
-rw-r--r-- | tools/run_tests/sources_and_headers.json | 34 | ||||
-rw-r--r-- | tools/run_tests/tests.json | 38 |
2 files changed, 72 insertions, 0 deletions
diff --git a/tools/run_tests/sources_and_headers.json b/tools/run_tests/sources_and_headers.json index 5e8290ad90..e8e17c5356 100644 --- a/tools/run_tests/sources_and_headers.json +++ b/tools/run_tests/sources_and_headers.json @@ -1140,6 +1140,40 @@ "headers": [], "is_filegroup": false, "language": "c", + "name": "handshake_client", + "src": [ + "test/core/handshake/client_ssl.c" + ], + "third_party": false, + "type": "target" + }, + { + "deps": [ + "gpr", + "gpr_test_util", + "grpc", + "grpc_test_util" + ], + "headers": [], + "is_filegroup": false, + "language": "c", + "name": "handshake_server", + "src": [ + "test/core/handshake/server_ssl.c" + ], + "third_party": false, + "type": "target" + }, + { + "deps": [ + "gpr", + "gpr_test_util", + "grpc", + "grpc_test_util" + ], + "headers": [], + "is_filegroup": false, + "language": "c", "name": "hpack_parser_fuzzer_test", "src": [ "test/core/transport/chttp2/hpack_parser_fuzzer_test.c" diff --git a/tools/run_tests/tests.json b/tools/run_tests/tests.json index 938aa2edde..6b231f0dcb 100644 --- a/tools/run_tests/tests.json +++ b/tools/run_tests/tests.json @@ -1225,6 +1225,44 @@ "ci_platforms": [ "linux", "mac", + "posix" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "flaky": false, + "gtest": false, + "language": "c", + "name": "handshake_client", + "platforms": [ + "linux", + "mac", + "posix" + ] + }, + { + "args": [], + "ci_platforms": [ + "linux", + "mac", + "posix" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "flaky": false, + "gtest": false, + "language": "c", + "name": "handshake_server", + "platforms": [ + "linux", + "mac", + "posix" + ] + }, + { + "args": [], + "ci_platforms": [ + "linux", + "mac", "posix", "windows" ], |