mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:50:11 +01:00
raised the imap connection timeout 15->60 sec
This commit is contained in:
parent
58f6efb7ec
commit
e7da8061a9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user