diff --git a/src/mux_h2.c b/src/mux_h2.c index ac8071960..695eb160d 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -4791,7 +4791,7 @@ next_frame: b_sub(&h2c->dbuf, hole); } - if (b_full(&h2c->dbuf) && h2c->dfl >= b_data(&h2c->dbuf)) { + if (b_full(&h2c->dbuf) && h2c->dfl) { /* too large frames */ h2c_error(h2c, H2_ERR_INTERNAL_ERROR); ret = -1;