From 342c46bd326a2a96cc3cb091e8a7fe43033c49bc Mon Sep 17 00:00:00 2001 From: fidian Date: Tue, 9 Jan 2001 23:07:18 +0000 Subject: [PATCH] Changed timeout from 0 seconds (died for me constantly) to 15 seconds. Now I can log into my email. :-) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@920 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_general.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/imap_general.php b/functions/imap_general.php index f40bbdb7..e290f6f3 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -58,7 +58,8 @@ function sqimap_login ($username, $password, $imap_server_address, $imap_port, $hide) { global $color, $squirrelmail_language, $HTTP_ACCEPT_LANGUAGE, $onetimepad; - $imap_stream = fsockopen ($imap_server_address, $imap_port, &$error_number, &$error_string, 0); + $imap_stream = fsockopen ($imap_server_address, $imap_port, + &$error_number, &$error_string, 15); $server_info = fgets ($imap_stream, 1024); // Decrypt the password -- 2.25.1