Commit 0582753d authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Add a note regarding a race recently closed

Refs 1dc891a5
Refs #2931 #2933
parent 1dc891a5
......@@ -644,6 +644,9 @@ h2_rx_headers(struct worker *wrk, struct h2_sess *h2, struct h2_req *r2)
if (r2 == NULL) {
if (h2->rxf_stream <= h2->highest_stream)
return (H2CE_PROTOCOL_ERROR); // rfc7540,l,1153,1158
/* XXX: is it safe to load h2->open_streams without the h2
* session lock held?
*/
if (h2->open_streams >=
h2->local_settings.max_concurrent_streams) {
VSLb(h2->vsl, SLT_Debug,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment