diff --git a/src/http_ana.c b/src/http_ana.c index 9c3e68a1b..715dd3a5c 100644 --- a/src/http_ana.c +++ b/src/http_ana.c @@ -1247,7 +1247,7 @@ static __inline int do_l7_retry(struct stream *s, struct stream_interface *si) /* Remove any write error from the request, and read error from the response */ req->flags &= ~(CF_WRITE_ERROR | CF_WRITE_TIMEOUT | CF_SHUTW | CF_SHUTW_NOW); res->flags &= ~(CF_READ_ERROR | CF_READ_TIMEOUT | CF_SHUTR | CF_EOI | CF_READ_NULL | CF_SHUTR_NOW); - res->analysers = 0; + res->analysers &= AN_RES_FLT_END; si->flags &= ~(SI_FL_ERR | SI_FL_EXP | SI_FL_RXBLK_SHUT); si->err_type = SI_ET_NONE; s->flags &= ~(SF_ERR_MASK | SF_FINST_MASK);