mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-11 01:41:49 -04:00
[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:
parent
700909448d
commit
4d44142a0a
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue