X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=inc%2Fphpmailer%2Fdocs%2Ftimeoutfix.diff;fp=inc%2Fphpmailer%2Fdocs%2Ftimeoutfix.diff;h=a37293a8b35740a592a3c16f7c146f3932a0754c;hb=b42b2bf946332ad8544d53f610be9cb05e80bf56;hp=0000000000000000000000000000000000000000;hpb=e586807dafc64c3fe152ab518599e6cf3f0f84e1;p=mirrors%2FKyberia-bloodline.git diff --git a/inc/phpmailer/docs/timeoutfix.diff b/inc/phpmailer/docs/timeoutfix.diff new file mode 100644 index 0000000..a37293a --- /dev/null +++ b/inc/phpmailer/docs/timeoutfix.diff @@ -0,0 +1,23 @@ +*** /usr/local/src/php-4.0.4pl1/ext/standard/fsock.c.old Mon Mar 26 13:07:40 2001 +--- /usr/local/src/php-4.0.4pl1/ext/standard/fsock.c Mon Mar 26 13:12:03 2001 +*************** +*** 559,564 **** +--- 559,565 ---- + + static void php_sockread_total(php_sockbuf *sock, size_t maxread) + { ++ sock->timeout_event = 0; + while(!sock->eof && TOREAD(sock) < maxread && !sock->timeout_event) { + php_sockread_internal(sock); + } +*************** +*** 619,624 **** +--- 620,627 ---- + } + + SEARCHCR(); ++ ++ sock->timeout_event = 0; + + if(!p) { + if(sock->is_blocked) {