projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
e9bf638
)
- avoid callbacks during shutdown
author
Michael Wallner
<mike@php.net>
Wed, 27 Jul 2005 16:33:15 +0000
(16:33 +0000)
committer
Michael Wallner
<mike@php.net>
Wed, 27 Jul 2005 16:33:15 +0000
(16:33 +0000)
http_request_object.c
patch
|
blob
|
history
diff --git
a/http_request_object.c
b/http_request_object.c
index e744a227ede89642442302d35629d9dcf856d90a..bca9bcb5b6a8188cb339349afbea6b4495feb9b3 100644
(file)
--- a/
http_request_object.c
+++ b/
http_request_object.c
@@
-390,7
+390,9
@@
void _http_request_object_free(zend_object *object TSRMLS_DC)
if (o->ch) {
/* avoid nasty segfaults with already cleaned up callbacks */
curl_easy_setopt(o->ch, CURLOPT_NOPROGRESS, 1);
+ curl_easy_setopt(o->ch, CURLOPT_PROGRESSFUNCTION, NULL);
curl_easy_setopt(o->ch, CURLOPT_VERBOSE, 0);
+ curl_easy_setopt(o->ch, CURLOPT_DEBUGFUNCTION, NULL);
curl_easy_cleanup(o->ch);
}
phpstr_dtor(&o->response);