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
78694521
Commit
78694521
authored
Mar 08, 2019
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn the question into an explanation
It was already answered outside of the commit log.
parent
0582753d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
cache_http2_proto.c
bin/varnishd/http2/cache_http2_proto.c
+3
-2
No files found.
bin/varnishd/http2/cache_http2_proto.c
View file @
78694521
...
@@ -644,8 +644,9 @@ h2_rx_headers(struct worker *wrk, struct h2_sess *h2, struct h2_req *r2)
...
@@ -644,8 +644,9 @@ h2_rx_headers(struct worker *wrk, struct h2_sess *h2, struct h2_req *r2)
if
(
r2
==
NULL
)
{
if
(
r2
==
NULL
)
{
if
(
h2
->
rxf_stream
<=
h2
->
highest_stream
)
if
(
h2
->
rxf_stream
<=
h2
->
highest_stream
)
return
(
H2CE_PROTOCOL_ERROR
);
// rfc7540,l,1153,1158
return
(
H2CE_PROTOCOL_ERROR
);
// rfc7540,l,1153,1158
/* XXX: is it safe to load h2->open_streams without the h2
/* NB: we don't need to guard the read of h2->open_streams
* session lock held?
* because headers are handled sequentially so it cannot
* increase under our feet.
*/
*/
if
(
h2
->
open_streams
>=
if
(
h2
->
open_streams
>=
h2
->
local_settings
.
max_concurrent_streams
)
{
h2
->
local_settings
.
max_concurrent_streams
)
{
...
...
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