diff --git a/include/haproxy/stconn.h b/include/haproxy/stconn.h index 9a61d6f527..53f761a289 100644 --- a/include/haproxy/stconn.h +++ b/include/haproxy/stconn.h @@ -490,8 +490,8 @@ static inline size_t se_nego_ff(struct sedesc *se, struct buffer *input, size_t se->iobuf.flags &= ~(IOBUF_FL_FF_BLOCKED|IOBUF_FL_FF_WANT_ROOM); if (mux->nego_fastfwd && mux->done_fastfwd) { - /* Disable zero-copy forwarding if EOS or an error was reported. */ - if (se_fl_test(se, SE_FL_EOS|SE_FL_ERROR|SE_FL_ERR_PENDING)) { + /* Disable zero-copy forwarding if an error was reported. */ + if (se_fl_test(se, SE_FL_ERROR|SE_FL_ERR_PENDING)) { se->iobuf.flags |= IOBUF_FL_NO_FF; goto end; }