diff --git a/src/mux_h1.c b/src/mux_h1.c index defcada21..d68582a97 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c @@ -527,7 +527,8 @@ static inline int h1_recv_allowed(const struct h1c *h1c) return 0; } - if (h1c->conn->flags & (CO_FL_WAIT_L4_CONN|CO_FL_WAIT_L6_CONN)) { + if (h1c->conn->flags & (CO_FL_WAIT_L4_CONN|CO_FL_WAIT_L6_CONN) && + !(h1c->conn->flags & CO_FL_EARLY_DATA)) { TRACE_DEVEL("recv not allowed because of (waitl4|waitl6) on connection", H1_EV_H1C_RECV|H1_EV_H1C_BLK, h1c->conn); return 0; }