From 68ed64148afcf253689241f0fade2e7c0ea4dcdb Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 3 Dec 2017 18:15:56 +0100 Subject: [PATCH] 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. --- src/mux_h2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.3