]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
pop3c: Increased command timeout from 30s to 5mins.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 26 Jan 2016 13:38:13 +0000 (15:38 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 26 Jan 2016 13:38:13 +0000 (15:38 +0200)
Possibly should be made configurable, but use this for now.

src/lib-storage/index/pop3c/pop3c-client.c

index d35ebeafe7cb838b3ee241eebce0e7669fdc3697..1b5ab902d7e437b04b36eb2aab9ea4e90b5f7f1d 100644 (file)
@@ -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 */