php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #62085
Patch patched.txt revision 2012-05-21 05:06 UTC by shengdong01 at 163 dot com

Patch patched.txt for cURL related Bug #62085

Patch version 2012-05-21 05:06 UTC

Return to Bug #62085 | Download this patch
Patch Revisions:

Developer: shengdong01@163.com

diff -r -u php-5.3.13/ext/curl/streams.c php-5.3.13.patched/ext/curl/streams.c
--- php-5.3.13/ext/curl/streams.c	2012-05-08 17:22:27.000000000 +0800
+++ php-5.3.13.patched/ext/curl/streams.c	2012-05-21 13:00:16.000000000 +0800
@@ -162,6 +162,9 @@
 		}
 		
 		do {
+			FD_ZERO(&curlstream->readfds);
+			FD_ZERO(&curlstream->writefds);
+			FD_ZERO(&curlstream->excfds);
 			/* get the descriptors from curl */
 			curl_multi_fdset(curlstream->multi, &curlstream->readfds, &curlstream->writefds, &curlstream->excfds, &curlstream->maxfd);
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 10:01:28 2024 UTC