Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
e5b99ec6
Commit
e5b99ec6
authored
Mar 02, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split H2 session from protocol/frame processing
parent
428996a3
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
478 additions
and
316 deletions
+478
-316
Makefile.am
bin/varnishd/Makefile.am
+1
-0
cache_http2.h
bin/varnishd/http2/cache_http2.h
+5
-4
cache_http2_proto.c
bin/varnishd/http2/cache_http2_proto.c
+12
-312
cache_http2_session.c
bin/varnishd/http2/cache_http2_session.c
+460
-0
No files found.
bin/varnishd/Makefile.am
View file @
e5b99ec6
...
@@ -71,6 +71,7 @@ varnishd_SOURCES = \
...
@@ -71,6 +71,7 @@ varnishd_SOURCES = \
http2/cache_http2_hpack.c
\
http2/cache_http2_hpack.c
\
http2/cache_http2_panic.c
\
http2/cache_http2_panic.c
\
http2/cache_http2_proto.c
\
http2/cache_http2_proto.c
\
http2/cache_http2_session.c
\
http2/cache_http2_send.c
\
http2/cache_http2_send.c
\
mgt/mgt_acceptor.c
\
mgt/mgt_acceptor.c
\
mgt/mgt_child.c
\
mgt/mgt_child.c
\
...
...
bin/varnishd/http2/cache_http2.h
View file @
e5b99ec6
...
@@ -158,8 +158,9 @@ int H2_Send_Frame(struct worker *, const struct h2_sess *,
...
@@ -158,8 +158,9 @@ int H2_Send_Frame(struct worker *, const struct h2_sess *,
int
H2_Send
(
struct
worker
*
,
struct
h2_req
*
,
int
flush
,
int
H2_Send
(
struct
worker
*
,
struct
h2_req
*
,
int
flush
,
enum
h2_frame_e
type
,
uint8_t
flags
,
uint32_t
len
,
const
void
*
);
enum
h2_frame_e
type
,
uint8_t
flags
,
uint32_t
len
,
const
void
*
);
typedef
h2_error
h2_frame_f
(
struct
worker
*
,
struct
h2_sess
*
,
/* cache_http2_proto.c */
struct
h2_req
*
);
int
h2_rxframe
(
struct
worker
*
,
struct
h2_sess
*
);
#define H2_FRAME(l,u,t,f) h2_frame_f h2_rx_##l ;
void
h2_req_body
(
struct
req
*
);
#include "tbl/h2_frames.h"
bin/varnishd/http2/cache_http2_proto.c
View file @
e5b99ec6
This diff is collapsed.
Click to expand it.
bin/varnishd/http2/cache_http2_session.c
0 → 100644
View file @
e5b99ec6
This diff is collapsed.
Click to expand it.
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