mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-25 07:41:36 +02:00
BUG/MINOR: h2: fix a typo causing PING/ACK to be responded to
The ACK flag was tested on the frame type instead of the frame flag. To backport to 1.8.
This commit is contained in:
parent
cd4fe17a26
commit
68ed64148a
@ -1159,7 +1159,7 @@ static int h2c_handle_ping(struct h2c *h2c)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* schedule a response */
|
/* schedule a response */
|
||||||
if (!(h2c->dft & H2_F_PING_ACK))
|
if (!(h2c->dff & H2_F_PING_ACK))
|
||||||
h2c->st0 = H2_CS_FRAME_A;
|
h2c->st0 = H2_CS_FRAME_A;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user