diff --git a/include/haproxy/channel.h b/include/haproxy/channel.h index b76783e5a..ebe316d8d 100644 --- a/include/haproxy/channel.h +++ b/include/haproxy/channel.h @@ -422,7 +422,7 @@ static inline int channel_is_rewritable(const struct channel *chn) */ static inline int channel_may_send(const struct channel *chn) { - return chn_cons(chn)->state == SC_ST_EST; + return chn_cons(chn)->state >= SC_ST_REQ; } /* HTX version of channel_may_recv(). Returns non-zero if the channel can still