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
9d81be4b
Commit
9d81be4b
authored
Apr 30, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'misc' of
https://github.com/alagoutte/nghttp2
into alagoutte-misc
parents
ea612a2d
a62778d6
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
examples/tiny-nghttpd.c
examples/tiny-nghttpd.c
+1
-1
lib/nghttp2_hd.h
lib/nghttp2_hd.h
+1
-1
lib/nghttp2_option.h
lib/nghttp2_option.h
+1
-1
lib/nghttp2_outbound_item.h
lib/nghttp2_outbound_item.h
+1
-1
lib/nghttp2_session.h
lib/nghttp2_session.h
+3
-3
lib/nghttp2_stream.h
lib/nghttp2_stream.h
+1
-1
No files found.
examples/tiny-nghttpd.c
View file @
9d81be4b
...
...
@@ -190,7 +190,7 @@ typedef enum {
NGHTTP2_TOKEN__METHOD
,
NGHTTP2_TOKEN__PATH
,
NGHTTP2_TOKEN__SCHEME
,
NGHTTP2_TOKEN_HOST
,
NGHTTP2_TOKEN_HOST
}
nghttp2_token
;
/* Inspired by h2o header lookup. https://github.com/h2o/h2o */
...
...
lib/nghttp2_hd.h
View file @
9d81be4b
...
...
@@ -109,7 +109,7 @@ typedef enum {
NGHTTP2_TOKEN_CONNECTION
,
NGHTTP2_TOKEN_KEEP_ALIVE
,
NGHTTP2_TOKEN_PROXY_CONNECTION
,
NGHTTP2_TOKEN_UPGRADE
,
NGHTTP2_TOKEN_UPGRADE
}
nghttp2_token
;
typedef
enum
{
...
...
lib/nghttp2_option.h
View file @
9d81be4b
...
...
@@ -58,7 +58,7 @@ typedef enum {
*/
NGHTTP2_OPT_PEER_MAX_CONCURRENT_STREAMS
=
1
<<
1
,
NGHTTP2_OPT_RECV_CLIENT_PREFACE
=
1
<<
2
,
NGHTTP2_OPT_NO_HTTP_MESSAGING
=
1
<<
3
,
NGHTTP2_OPT_NO_HTTP_MESSAGING
=
1
<<
3
}
nghttp2_option_flag
;
/**
...
...
lib/nghttp2_outbound_item.h
View file @
9d81be4b
...
...
@@ -81,7 +81,7 @@ typedef enum {
/* indicates that this GOAWAY is just a notification for graceful
shutdown. No nghttp2_session.goaway_flags should be updated on
the reaction to this frame. */
NGHTTP2_GOAWAY_AUX_SHUTDOWN_NOTICE
=
0x2
,
NGHTTP2_GOAWAY_AUX_SHUTDOWN_NOTICE
=
0x2
}
nghttp2_goaway_aux_flag
;
/* struct used for GOAWAY frame */
...
...
lib/nghttp2_session.h
View file @
9d81be4b
...
...
@@ -47,7 +47,7 @@
typedef
enum
{
NGHTTP2_OPTMASK_NO_AUTO_WINDOW_UPDATE
=
1
<<
0
,
NGHTTP2_OPTMASK_RECV_CLIENT_PREFACE
=
1
<<
1
,
NGHTTP2_OPTMASK_NO_HTTP_MESSAGING
=
1
<<
2
,
NGHTTP2_OPTMASK_NO_HTTP_MESSAGING
=
1
<<
2
}
nghttp2_optmask
;
typedef
enum
{
...
...
@@ -84,7 +84,7 @@ typedef enum {
NGHTTP2_IB_READ_PAD_DATA
,
NGHTTP2_IB_READ_DATA
,
NGHTTP2_IB_IGN_DATA
,
NGHTTP2_IB_IGN_ALL
,
NGHTTP2_IB_IGN_ALL
}
nghttp2_inbound_state
;
#define NGHTTP2_INBOUND_NUM_IV 7
...
...
@@ -136,7 +136,7 @@ typedef enum {
/* Flag means GOAWAY was sent */
NGHTTP2_GOAWAY_SENT
=
0x4
,
/* Flag means GOAWAY was received */
NGHTTP2_GOAWAY_RECV
=
0x8
,
NGHTTP2_GOAWAY_RECV
=
0x8
}
nghttp2_goaway_flag
;
struct
nghttp2_session
{
...
...
lib/nghttp2_stream.h
View file @
9d81be4b
...
...
@@ -133,7 +133,7 @@ typedef enum {
/* "http" or "https" scheme */
NGHTTP2_HTTP_FLAG_SCHEME_HTTP
=
1
<<
12
,
/* set if final response is expected */
NGHTTP2_HTTP_FLAG_EXPECT_FINAL_RESPONSE
=
1
<<
13
,
NGHTTP2_HTTP_FLAG_EXPECT_FINAL_RESPONSE
=
1
<<
13
}
nghttp2_http_flag
;
typedef
enum
{
...
...
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