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
7388e705
Commit
7388e705
authored
Feb 25, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Point out upper-case characters, I'm sure this will be a common mistake.
parent
9577a7a6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
cache_http2_proto.c
bin/varnishd/http2/cache_http2_proto.c
+11
-2
No files found.
bin/varnishd/http2/cache_http2_proto.c
View file @
7388e705
...
...
@@ -414,6 +414,7 @@ h2_rx_headers(struct worker *wrk, struct h2_sess *h2, struct h2_req *r2)
{
struct
req
*
req
;
struct
h2h_decode
d
[
1
];
h2_error
h2e
;
const
uint8_t
*
p
;
size_t
l
;
...
...
@@ -457,8 +458,16 @@ h2_rx_headers(struct worker *wrk, struct h2_sess *h2, struct h2_req *r2)
p
+=
5
;
l
-=
5
;
}
XXXAZ
(
h2h_decode_bytes
(
h2
,
d
,
p
,
l
));
XXXAZ
(
h2h_decode_fini
(
h2
,
d
));
h2e
=
h2h_decode_bytes
(
h2
,
d
,
p
,
l
);
if
(
h2e
!=
NULL
)
{
VSL
(
SLT_Debug
,
0
,
"H2H_DECODE_BYTES %s"
,
h2e
->
name
);
return
(
h2e
);
}
h2e
=
h2h_decode_fini
(
h2
,
d
);
if
(
h2e
!=
NULL
)
{
VSL
(
SLT_Debug
,
0
,
"H2H_DECODE_FINI %s"
,
h2e
->
name
);
return
(
h2e
);
}
VSLb_ts_req
(
req
,
"Req"
,
req
->
t_req
);
http_SetH
(
req
->
http
,
HTTP_HDR_PROTO
,
"HTTP/2.0"
);
...
...
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