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);
|