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
2ca8cf36
Commit
2ca8cf36
authored
Jun 21, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
util: Use constexpr for ALPN id
parent
2224b98c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/util.h
src/util.h
+4
-4
No files found.
src/util.h
View file @
2ca8cf36
...
...
@@ -52,11 +52,11 @@ namespace nghttp2 {
// The additional HTTP/2 protocol ALPN protocol identifier we also
// supports for our applications to make smooth migration into final
// h2 ALPN ID.
#define NGHTTP2_H2_16_ALPN "\x5h2-16"
#define NGHTTP2_H2_16 "h2-16"
constexpr
const
char
NGHTTP2_H2_16_ALPN
[]
=
"\x5h2-16"
;
constexpr
const
char
NGHTTP2_H2_16
[]
=
"h2-16"
;
#define NGHTTP2_H2_14_ALPN "\x5h2-14"
#define NGHTTP2_H2_14 "h2-14"
constexpr
const
char
NGHTTP2_H2_14_ALPN
[]
=
"\x5h2-14"
;
constexpr
const
char
NGHTTP2_H2_14
[]
=
"h2-14"
;
namespace
util
{
...
...
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