diff --git a/src/proto_http.c b/src/proto_http.c index f4ffae793..a25f7b414 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -2425,7 +2425,7 @@ int process_srv(struct session *t) 503, error_message(t, HTTP_ERR_503)); if (t->srv) t->srv->failed_conns++; - t->fe->failed_conns++; + t->be->failed_conns++; return 1; } } diff --git a/src/proto_uxst.c b/src/proto_uxst.c index 24c435ff6..590e52405 100644 --- a/src/proto_uxst.c +++ b/src/proto_uxst.c @@ -796,7 +796,7 @@ static int process_uxst_srv(struct session *t) if (t->srv) t->srv->failed_conns++; if (t->fe) - t->fe->failed_conns++; + t->be->failed_conns++; return 1; } }