Skip to content
Snippets Groups Projects
Commit 3a186e70 authored by Craig Tiller's avatar Craig Tiller
Browse files

Get the right ordering of h2, not-h2

parent ff1e2aa6
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include <grpc/support/useful.h> #include <grpc/support/useful.h>
/* in order of preference */ /* in order of preference */
static const char *const supported_versions[] = {"not-h2"}; static const char *const supported_versions[] = {"h2"};
int grpc_chttp2_is_alpn_version_supported(const char *version, size_t size) { int grpc_chttp2_is_alpn_version_supported(const char *version, size_t size) {
size_t i; size_t i;
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
* a protocol that the connecting client does not support. It does this by * a protocol that the connecting client does not support. It does this by
* overriding the functions declared in alpn.c from the core library. */ * overriding the functions declared in alpn.c from the core library. */
static const char *const fake_versions[] = {"h2"}; static const char *const fake_versions[] = {"not-h2"};
int grpc_chttp2_is_alpn_version_supported(const char *version, size_t size) { int grpc_chttp2_is_alpn_version_supported(const char *version, size_t size) {
size_t i; size_t i;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment