diff --git a/src/http_ana.c b/src/http_ana.c index 1dae2ee19..24311b1a2 100644 --- a/src/http_ana.c +++ b/src/http_ana.c @@ -1173,7 +1173,7 @@ static __inline int do_l7_retry(struct stream *s, struct stconn *sc) /* Remove any write error from the request, and read error from the response */ s->scf->flags &= ~(SC_FL_EOS|SC_FL_ABRT_DONE|SC_FL_ABRT_WANTED); - req->flags &= ~CF_WRITE_TIMEOUT; + req->flags &= ~(CF_WRITE_TIMEOUT|CF_WROTE_DATA); res->flags &= ~(CF_READ_TIMEOUT | CF_READ_EVENT); res->analysers &= AN_RES_FLT_END; s->conn_err_type = STRM_ET_NONE;