diff --git a/src/stream.c b/src/stream.c index f7ed26f30..4fa41a71d 100644 --- a/src/stream.c +++ b/src/stream.c @@ -2068,6 +2068,7 @@ struct task *process_stream(struct task *t, void *context, unsigned short state) si_b->state = SI_ST_REQ; /* new connection requested */ si_b->conn_retries = s->be->conn_retries; if ((s->be->retry_type &~ PR_RE_CONN_FAILED) && + (s->be->mode == PR_MODE_HTTP) && !(si_b->flags & SI_FL_D_L7_RETRY)) si_b->flags |= SI_FL_L7_RETRY; }