mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-11 09:12:54 +02:00
[MEDIUM] pre-initialize timeouts to infinity, not zero
Since the timers have been changed, the timeouts for the default instance have not been adjusted. This results in unspecified timeouts becoming zero instead of infinite.
This commit is contained in:
@@ -468,6 +468,10 @@ static void init_default_instance()
|
||||
defproxy.maxconn = cfg_maxpconn;
|
||||
defproxy.conn_retries = CONN_RETRIES;
|
||||
defproxy.logfac1 = defproxy.logfac2 = -1; /* log disabled */
|
||||
tv_eternity(&defproxy.clitimeout);
|
||||
tv_eternity(&defproxy.contimeout);
|
||||
tv_eternity(&defproxy.srvtimeout);
|
||||
tv_eternity(&defproxy.appsession_timeout);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user