aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Eric Anderson <ejona86@gmail.com>2015-08-03 09:47:47 -0700
committerGravatar Eric Anderson <ejona86@gmail.com>2015-08-03 09:47:47 -0700
commit65b074925161a2ff28447ebac4b311cab80c37ae (patch)
treed706607adc654841fb726ddf06d0e21b970d2e3a /src
parent3a0c2e608e6a0d971648de3b45e521733d0ee605 (diff)
parent2fc2a164aefca8ca99c53973c425c44ae476e04b (diff)
Merge pull request #2743 from ctiller/ampidextrous-parrot
Switch ALPN/NPN to advertise only h2
Diffstat (limited to 'src')
-rw-r--r--src/core/transport/chttp2/alpn.c3
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;