-
-
Save cmb69/b3ca981599bf21004c6417ab64dea4b7 to your computer and use it in GitHub Desktop.
PHP bug #77153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ext/imap/php_imap.c | 3 +++ | |
| 1 file changed, 3 insertions(+) | |
| diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c | |
| index 5fa32df2bc..33f13e50a8 100644 | |
| --- a/ext/imap/php_imap.c | |
| +++ b/ext/imap/php_imap.c | |
| @@ -872,6 +872,9 @@ PHP_MINIT_FUNCTION(imap) | |
| mail_parameters(NIL, SET_WRITETIMEOUT, (void *) FG(default_socket_timeout)); | |
| mail_parameters(NIL, SET_CLOSETIMEOUT, (void *) FG(default_socket_timeout)); | |
| + /* disable rsh globally */ | |
| + mail_parameters(NIL, SET_RSHTIMEOUT, 0); | |
| + | |
| /* timeout constants */ | |
| REGISTER_LONG_CONSTANT("IMAP_OPENTIMEOUT", 1, CONST_PERSISTENT | CONST_CS); | |
| REGISTER_LONG_CONSTANT("IMAP_READTIMEOUT", 2, CONST_PERSISTENT | CONST_CS); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment