diff --git a/src/mux_h2.c b/src/mux_h2.c index 28b168489..aea1f98d8 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -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);