]> granicus.if.org Git - php/commit
FD_ZERO file descriptors before calling curl_multi_fdset
authorPierrick Charron <pierrick@php.net>
Fri, 28 Sep 2012 19:19:03 +0000 (15:19 -0400)
committerPierrick Charron <pierrick@php.net>
Fri, 28 Sep 2012 19:21:03 +0000 (15:21 -0400)
commit936553d666405bc783511979b17d78d51905b9cd
tree3eb3e0763a35907c946cbbd926d4428cb3a81258
parent4358e90a8f4fc7b3eaf6f42315b5d71b953391c6
FD_ZERO file descriptors before calling curl_multi_fdset

As per curl documentation http://curl.haxx.se/libcurl/c/curl_multi_fdset.html
we need to FD_ZERO file descriptors before calling the curl_multi_fdset function
ext/curl/streams.c