[MINOR] assign connection timeouts to backend not frontend

Connection timeouts counted for session expiration in wait queue
must be assigned to backend not frontend.
This commit is contained in:
Willy Tarreau 2007-11-12 10:44:31 +01:00
parent 700909448d
commit 4d44142a0a
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}
}

View file

@ -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;
}
}