mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-24 19:33:38 -04:00
BUG/MEDIUM: mux-h2: pass CS_FL_ERR_PENDING to h2_wake_some_streams()
Commiy 8519357c ("BUG/MEDIUM: mux-h2: report asynchronous errors in
h2_wake_some_streams()") addressed an issue with synchronous errors
but forgot to fix the call places to also pass CS_FL_ERR_PENDING
instead of CS_FL_ERROR.
No backport is needed.
This commit is contained in:
parent
2f30883793
commit
9117780bfd
1 changed files with 1 additions and 1 deletions
|
|
@ -1668,7 +1668,7 @@ static int h2c_handle_goaway(struct h2c *h2c)
|
|||
|
||||
last = h2_get_n32(&h2c->dbuf, 0);
|
||||
h2c->errcode = h2_get_n32(&h2c->dbuf, 4);
|
||||
h2_wake_some_streams(h2c, last, CS_FL_ERROR);
|
||||
h2_wake_some_streams(h2c, last, CS_FL_ERR_PENDING);
|
||||
if (h2c->last_sid < 0)
|
||||
h2c->last_sid = last;
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue