mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-22 20:32:12 +00:00
BUG/MINOR: mux-h2: make sure we check the conn_stream in early data
When dealing with early data we scan the list of stream to notify them. We're not supposed to have h2s->cs == NULL here but it doesn't cost much to make the scan more robust and verify it before notifying. No backport is needed.
This commit is contained in:
parent
ec988c7a0f
commit
fde287cc76
@ -2665,7 +2665,7 @@ static int h2_process(struct h2c *h2c)
|
||||
|
||||
while (node) {
|
||||
h2s = container_of(node, struct h2s, by_id);
|
||||
if (h2s->cs->flags & CS_FL_WAIT_FOR_HS)
|
||||
if (h2s->cs && h2s->cs->flags & CS_FL_WAIT_FOR_HS)
|
||||
h2s_notify_recv(h2s);
|
||||
node = eb32_next(node);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user