diff options
author | Craig Tiller <ctiller@google.com> | 2015-07-31 13:51:48 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-07-31 13:51:48 -0700 |
commit | 2fc2a164aefca8ca99c53973c425c44ae476e04b (patch) | |
tree | 226eff5ec2a1bad29b525205d5268e03124bf0d9 /src/core/transport | |
parent | 11af9747152565c4f5bfe0acb453715521e8af7f (diff) |
Switch ALPN/NPN to advertise only h2
Diffstat (limited to 'src/core/transport')
-rw-r--r-- | src/core/transport/chttp2/alpn.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/transport/chttp2/alpn.c b/src/core/transport/chttp2/alpn.c index 3ccd5796ba..69da4e6718 100644 --- a/src/core/transport/chttp2/alpn.c +++ b/src/core/transport/chttp2/alpn.c @@ -36,8 +36,7 @@ #include <grpc/support/useful.h> /* in order of preference */ -static const char *const supported_versions[] = {"h2", "h2-17", "h2-16", - "h2-15", "h2-14"}; +static const char *const supported_versions[] = {"h2"}; int grpc_chttp2_is_alpn_version_supported(const char *version, size_t size) { size_t i; |