Home
last modified time | relevance | path

Searched refs:fake_versions (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc/test/core/bad_ssl/servers/
Dalpn.cc34 static const char* const fake_versions[] = {"not-h2"}; variable
38 for (i = 0; i < GPR_ARRAY_SIZE(fake_versions); i++) { in grpc_chttp2_is_alpn_version_supported()
39 if (!strncmp(version, fake_versions[i], size)) return 1; in grpc_chttp2_is_alpn_version_supported()
45 return GPR_ARRAY_SIZE(fake_versions); in grpc_chttp2_num_alpn_versions()
49 GPR_ASSERT(i < GPR_ARRAY_SIZE(fake_versions)); in grpc_chttp2_get_alpn_version_index()
50 return fake_versions[i]; in grpc_chttp2_get_alpn_version_index()