mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
BUG/MEDIUM: h2: properly send the GOAWAY frame in the mux
A typo on a condition prevented H2_CS_ERROR from being processed, leading to an infinite loop on connection error.
This commit is contained in:
parent
c6795ca7c1
commit
3eabe9b174
@ -1871,7 +1871,7 @@ static int h2_process_mux(struct h2c *h2c)
|
||||
}
|
||||
|
||||
fail:
|
||||
if (unlikely(h2c->st0 > H2_CS_ERROR)) {
|
||||
if (unlikely(h2c->st0 >= H2_CS_ERROR)) {
|
||||
if (h2c->st0 == H2_CS_ERROR) {
|
||||
if (h2c->max_id >= 0) {
|
||||
h2c_send_goaway_error(h2c, NULL);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user