fix bug #33222 (segfault when CURL handle is closed in a callback).

fix segfaults when CURL callback functions throw exception.
This commit is contained in:
Antony Dovgal 2005-06-02 21:04:12 +00:00
parent 2018d2df32
commit 56a68b5be1
2 changed files with 22 additions and 6 deletions

View file

@ -121,6 +121,7 @@ typedef struct {
php_curl_handlers *handlers;
long id;
unsigned int uses;
zend_bool in_callback;
} php_curl;
typedef struct {