raised the imap connection timeout 15->60 sec

This commit is contained in:
SJ 2015-07-30 13:29:45 +02:00
parent 58f6efb7ec
commit e7da8061a9

View File

@ -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;