|
|
@ -36,7 +36,8 @@ |
|
|
|
#include <grpc/support/useful.h> |
|
|
|
#include <grpc/support/useful.h> |
|
|
|
|
|
|
|
|
|
|
|
/* in order of preference */ |
|
|
|
/* in order of preference */ |
|
|
|
static const char *const supported_versions[] = {"h2-16", "h2-15", "h2-14"}; |
|
|
|
static const char *const supported_versions[] = {"h2", "h2-17", "h2-16", |
|
|
|
|
|
|
|
"h2-15", "h2-14"}; |
|
|
|
|
|
|
|
|
|
|
|
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; |
|
|
|