mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 06:06:59 -04:00
[BUG] server timeout was not considered in some circumstances
Due to a copy-paste typo, the client timeout was refreshed instead of the server's when waiting for server response. This means that the server's timeout remained eternity.
This commit is contained in:
parent
fb0528bd56
commit
ce09c52187
1 changed files with 1 additions and 1 deletions
|
|
@ -3031,7 +3031,7 @@ int process_srv(struct session *t)
|
|||
* full. We cannot loop here since stream_sock_read will disable it only if
|
||||
* rep->l == rlim-data
|
||||
*/
|
||||
req->rex = tick_add_ifset(now_ms, t->be->timeout.server);
|
||||
rep->rex = tick_add_ifset(now_ms, t->be->timeout.server);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue