From: Willy Tarreau Date: Sun, 3 Dec 2017 17:15:56 +0000 (+0100) Subject: BUG/MINOR: h2: fix a typo causing PING/ACK to be responded to X-Git-Tag: v1.9-dev1~620 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68ed64148afcf253689241f0fade2e7c0ea4dcdb;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/mux_h2.c b/src/mux_h2.c index 0c2fcdeb2f..bf080054e6 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -1159,7 +1159,7 @@ static int h2c_handle_ping(struct h2c *h2c) } /* schedule a response */ - if (!(h2c->dft & H2_F_PING_ACK)) + if (!(h2c->dff & H2_F_PING_ACK)) h2c->st0 = H2_CS_FRAME_A; return 1; }