diff options
| author | Pedro Magalhães <pmmaga@php.net> | 2019-01-16 00:33:03 +0000 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-01-18 12:04:25 +0100 |
| commit | 32ae7160377e9548dcf27ff3e0e75c3c9cd3c36c (patch) | |
| tree | 4fb3b2fc6160c79f518f02dff1f5b92562f81562 /ext/curl/multi.c | |
| parent | 61cfa34e1194b5a026548508f9f34d6f6a8774da (diff) | |
| download | php-git-32ae7160377e9548dcf27ff3e0e75c3c9cd3c36c.tar.gz | |
Fixed bug #76675
Leave a reference to the resource in the php_curl.
Diffstat (limited to 'ext/curl/multi.c')
| -rw-r--r-- | ext/curl/multi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/curl/multi.c b/ext/curl/multi.c index 3afe8ac413..073a6b3688 100644 --- a/ext/curl/multi.c +++ b/ext/curl/multi.c @@ -509,6 +509,7 @@ static int _php_server_push_callback(CURL *parent_ch, CURL *easy, size_t num_hea Z_ADDREF_P(pz_parent_ch); res = zend_register_resource(ch, le_curl); + ch->res = res; ZVAL_RES(&pz_ch, res); size_t i; |
