diff options
| author | Pierrick Charron <pierrick@php.net> | 2012-12-19 19:40:29 -0500 |
|---|---|---|
| committer | Pierrick Charron <pierrick@php.net> | 2012-12-19 19:40:29 -0500 |
| commit | c46e1cdcae70254cfc0b7d5781f2c71162a3734d (patch) | |
| tree | 2e3c23195a41370c2e2cd8477b11ba7ba9911ebc /ext/curl/php_curl.h | |
| parent | e01fe5315c5fd03231641f7bb0819dbfaaadf935 (diff) | |
| download | php-git-c46e1cdcae70254cfc0b7d5781f2c71162a3734d.tar.gz | |
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
Diffstat (limited to 'ext/curl/php_curl.h')
| -rw-r--r-- | ext/curl/php_curl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h index 05275455e7..af6a965c99 100644 --- a/ext/curl/php_curl.h +++ b/ext/curl/php_curl.h @@ -181,6 +181,7 @@ typedef struct { CURLMcode mcode; int pending; zval *headers; + struct curl_slist *headers_slist; /* holds custom headers sent out in the request */ } php_curl_stream; |
