]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
login-proxy: Increase LOGIN_PROXY_TTL from 5 to 7
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 28 Jun 2022 09:53:26 +0000 (12:53 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 13 Jul 2022 08:58:04 +0000 (08:58 +0000)
5 is a bit too much on the low side in case there are several redirects.
It shouldn't be too high either, since it'll increase how long it takes
to detect a proxying loop.

src/login-common/login-proxy.h

index 280ddef4e44847fb913ce8b23c59a8dd38b43e2d..4d0559104a90d8618ce5d18af14e91261311eb40 100644 (file)
@@ -10,7 +10,7 @@
    keep connecting to each others, both thinking the other one is supposed to
    handle the user. This only works if both proxies support the Dovecot
    TTL extension feature. */
-#define LOGIN_PROXY_TTL 5
+#define LOGIN_PROXY_TTL 7
 #define LOGIN_PROXY_DEFAULT_HOST_IMMEDIATE_FAILURE_AFTER_SECS 30
 
 #define LOGIN_PROXY_FAILURE_MSG "Account is temporarily unavailable."