Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
3a186e70
Commit
3a186e70
authored
9 years ago
by
Craig Tiller
Browse files
Options
Downloads
Patches
Plain Diff
Get the right ordering of h2, not-h2
parent
ff1e2aa6
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/core/transport/chttp2/alpn.c
+1
-1
1 addition, 1 deletion
src/core/transport/chttp2/alpn.c
test/core/bad_ssl/servers/alpn.c
+1
-1
1 addition, 1 deletion
test/core/bad_ssl/servers/alpn.c
with
2 additions
and
2 deletions
src/core/transport/chttp2/alpn.c
+
1
−
1
View file @
3a186e70
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
test/core/bad_ssl/servers/alpn.c
+
1
−
1
View file @
3a186e70
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment