mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-18 11:40:50 +00:00
BUG/MEDIUM: fix ignored values for half-closed timeouts (client-fin and server-fin) in defaults section.
Signed-off-by: Simone Gotti <simone.gotti@gmail.com> WT: bug introduced with the new feature in 1.5-dev25, no backport is needed.
This commit is contained in:
parent
6639a7cf0d
commit
1b48cc9c6f
@ -2007,6 +2007,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
|
||||
|
||||
if (curproxy->cap & PR_CAP_FE) {
|
||||
curproxy->timeout.client = defproxy.timeout.client;
|
||||
curproxy->timeout.clientfin = defproxy.timeout.clientfin;
|
||||
curproxy->timeout.tarpit = defproxy.timeout.tarpit;
|
||||
curproxy->timeout.httpreq = defproxy.timeout.httpreq;
|
||||
curproxy->timeout.httpka = defproxy.timeout.httpka;
|
||||
@ -2035,6 +2036,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
|
||||
if (curproxy->cap & PR_CAP_BE) {
|
||||
curproxy->timeout.connect = defproxy.timeout.connect;
|
||||
curproxy->timeout.server = defproxy.timeout.server;
|
||||
curproxy->timeout.serverfin = defproxy.timeout.serverfin;
|
||||
curproxy->timeout.check = defproxy.timeout.check;
|
||||
curproxy->timeout.queue = defproxy.timeout.queue;
|
||||
curproxy->timeout.tarpit = defproxy.timeout.tarpit;
|
||||
|
Loading…
Reference in New Issue
Block a user