diff --git a/include/haproxy/connection.h b/include/haproxy/connection.h index 49f5d3f0f..c42ca17e6 100644 --- a/include/haproxy/connection.h +++ b/include/haproxy/connection.h @@ -271,7 +271,6 @@ static inline void cs_close(struct conn_stream *cs) { cs_shutw(cs, CS_SHW_SILENT); cs_shutr(cs, CS_SHR_RESET); - cs->flags = CS_FL_NONE; } /* completely close a conn_stream after draining possibly pending data (but do not detach it) */ @@ -279,7 +278,6 @@ static inline void cs_drain_and_close(struct conn_stream *cs) { cs_shutw(cs, CS_SHW_SILENT); cs_shutr(cs, CS_SHR_DRAIN); - cs->flags = CS_FL_NONE; } /* sets CS_FL_ERROR or CS_FL_ERR_PENDING on the cs */