]> granicus.if.org Git - php/commit
Fixed bug #55438 (Curlwapper is not sending http header randomly)
authorPierrick Charron <pierrick@php.net>
Thu, 20 Dec 2012 00:40:29 +0000 (19:40 -0500)
committerPierrick Charron <pierrick@php.net>
Thu, 20 Dec 2012 00:40:29 +0000 (19:40 -0500)
commitc46e1cdcae70254cfc0b7d5781f2c71162a3734d
tree2e3c23195a41370c2e2cd8477b11ba7ba9911ebc
parente01fe5315c5fd03231641f7bb0819dbfaaadf935
Fixed bug #55438 (Curlwapper is not sending http header randomly)

Since curl multi is used, it sometime happen that the resource is freed before
the curl multi really execute the query. The patch will store the headers
slist in the curlstream handle and free it only when the stream will be closed
NEWS
ext/curl/php_curl.h
ext/curl/streams.c