From e7da8061a97d51bf7b918498d1021e2775d67613 Mon Sep 17 00:00:00 2001 From: SJ Date: Thu, 30 Jul 2015 13:29:45 +0200 Subject: [PATCH] raised the imap connection timeout 15->60 sec --- src/imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imap.c b/src/imap.c index 650b699a..fa364c58 100644 --- a/src/imap.c +++ b/src/imap.c @@ -156,7 +156,7 @@ int process_imap_folder(int sd, int *seq, char *folder, struct session_data *sda msglen = 0; msg_written_len = 0; - while((n = recvtimeoutssl(sd, &buf[readpos], sizeof(buf)-readpos, 15, use_ssl, data->ssl)) > 0){ + while((n = recvtimeoutssl(sd, &buf[readpos], sizeof(buf)-readpos, 60, use_ssl, data->ssl)) > 0){ readlen += n;