From: Timo Sirainen Date: Tue, 26 Jan 2016 13:38:13 +0000 (+0200) Subject: pop3c: Increased command timeout from 30s to 5mins. X-Git-Tag: 2.2.22.rc1~279 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9999b049d4e02d7ea5d506a0ada68e519cfdbbbd;p=thirdparty%2Fdovecot%2Fcore.git pop3c: Increased command timeout from 30s to 5mins. Possibly should be made configurable, but use this for now. --- diff --git a/src/lib-storage/index/pop3c/pop3c-client.c b/src/lib-storage/index/pop3c/pop3c-client.c index d35ebeafe7..1b5ab902d7 100644 --- a/src/lib-storage/index/pop3c/pop3c-client.c +++ b/src/lib-storage/index/pop3c/pop3c-client.c @@ -20,7 +20,7 @@ #define POP3C_MAX_INBUF_SIZE (1024*32) #define POP3C_DNS_LOOKUP_TIMEOUT_MSECS (1000*30) #define POP3C_CONNECT_TIMEOUT_MSECS (1000*30) -#define POP3C_COMMAND_TIMEOUT_MSECS (1000*30) +#define POP3C_COMMAND_TIMEOUT_MSECS (1000*60*5) enum pop3c_client_state { /* No connection */