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
ae6e9e2b
Commit
ae6e9e2b
authored
Sep 05, 2018
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polishing
parent
198dc16e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
cache_http2_proto.c
bin/varnishd/http2/cache_http2_proto.c
+2
-3
cache_http2_session.c
bin/varnishd/http2/cache_http2_session.c
+4
-6
No files found.
bin/varnishd/http2/cache_http2_proto.c
View file @
ae6e9e2b
...
...
@@ -893,10 +893,9 @@ h2_frame_complete(struct http_conn *htc)
/**********************************************************************/
static
h2_error
h2_procframe
(
struct
worker
*
wrk
,
struct
h2_sess
*
h2
,
h2_frame
h2f
)
h2_procframe
(
struct
worker
*
wrk
,
struct
h2_sess
*
h2
,
h2_frame
h2f
)
{
struct
h2_req
*
r2
=
NULL
;
struct
h2_req
*
r2
;
h2_error
h2e
;
ASSERT_RXTHR
(
h2
);
...
...
bin/varnishd/http2/cache_http2_session.c
View file @
ae6e9e2b
...
...
@@ -55,18 +55,16 @@ static const char H2_prism[24] = {
static
size_t
h2_enc_settings
(
const
struct
h2_settings
*
h2s
,
uint8_t
*
buf
,
size_t
n
)
{
uint8_t
*
b
;
size_t
len
=
0
;
b
=
buf
;
#define H2_SETTING(U,l,v,d,...) \
if (h2s->l != d) { \
len += 6; \
assert(len <= n); \
vbe16enc(b
, v);
\
b
+= 2;
\
vbe32enc(b, h2s->l); \
b
+= 4;
\
vbe16enc(b
uf, v);
\
b
uf += 2;
\
vbe32enc(b
uf
, h2s->l); \
b
uf += 4;
\
}
#include "tbl/h2_settings.h"
return
(
len
);
...
...
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