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
8f8c85c4
Commit
8f8c85c4
authored
May 05, 2020
by
Martin Blix Grydeland
Committed by
Reza Naghibi
May 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add an assert that the status is valid on entry to h2_build_headers
Conflicts: bin/varnishd/http2/cache_http2_deliver.c
parent
f1d13df9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
cache_http2_deliver.c
bin/varnishd/http2/cache_http2_deliver.c
+1
-0
No files found.
bin/varnishd/http2/cache_http2_deliver.c
View file @
8f8c85c4
...
...
@@ -238,6 +238,7 @@ h2_build_headers(struct vsb *resp, struct req *req)
AN
(
VSB_new
(
resp
,
req
->
ws
->
f
,
l
,
VSB_FIXEDLEN
));
assert
(
req
->
resp
->
status
%
1000
>=
100
);
l
=
h2_status
(
buf
,
req
->
resp
->
status
%
1000
);
VSB_bcat
(
resp
,
buf
,
l
);
...
...
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