Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
cb73fa1d
Commit
cb73fa1d
authored
Nov 05, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h2load: Return SSL_TLSEXT_ERR_NOACK if there is protocol list overlap in NPN
parent
0dc7fee7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/h2load.cc
src/h2load.cc
+4
-5
No files found.
src/h2load.cc
View file @
cb73fa1d
...
...
@@ -1171,12 +1171,11 @@ int client_select_next_proto_cb(SSL *ssl, unsigned char **out,
if
(
util
::
select_protocol
(
const_cast
<
const
unsigned
char
**>
(
out
),
outlen
,
in
,
inlen
,
config
.
npn_list
))
{
return
SSL_TLSEXT_ERR_OK
;
}
else
if
(
inlen
==
0
)
{
std
::
cout
<<
"Server does not support NPN. Fallback behaviour may be activated."
<<
std
::
endl
;
}
return
SSL_TLSEXT_ERR_OK
;
// OpenSSL will terminate handshake with fatal alert if we return
// NOACK. So there is no way to fallback.
return
SSL_TLSEXT_ERR_NOACK
;
}
}
// namespace
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment