It happens that the retries stats use their own counter and are not
derived from the stream interface, so we need to update it as well
when performing an L7 retry.
No backport is needed.
if (si->conn_retries < 0)
return -1;
+ if (objt_server(s->target))
+ _HA_ATOMIC_ADD(&__objt_server(s->target)->counters.retries, 1);
+ _HA_ATOMIC_ADD(&s->be->be_counters.retries, 1);
+
req = &s->req;
res = &s->res;
/* Remove any write error from the request, and read error from the response */