|
cvs: pecl /http http_request_object.c: msg#00219php.pecl.cvs
mike Wed Jul 27 12:33:16 2005 EDT Modified files: /pecl/http http_request_object.c Log: - avoid callbacks during shutdown http://cvs.php.net/diff.php/pecl/http/http_request_object.c?r1=1.26&r2=1.27&ty=u Index: pecl/http/http_request_object.c diff -u pecl/http/http_request_object.c:1.26 pecl/http/http_request_object.c:1.27 --- pecl/http/http_request_object.c:1.26 Wed Jul 27 10:59:22 2005 +++ pecl/http/http_request_object.c Wed Jul 27 12:33:15 2005 @@ -13,7 +13,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: http_request_object.c,v 1.26 2005/07/27 14:59:22 mike Exp $ */ +/* $Id: http_request_object.c,v 1.27 2005/07/27 16:33:15 mike Exp $ */ #ifdef HAVE_CONFIG_H @@ -390,7 +390,9 @@ 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); |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cvs: pecl /http http_message_api.c http_request_object.c php_http_request_object.h: 00219, Michael Wallner |
|---|---|
| Next by Date: | cvs: pecl /http http_request_object.c: 00219, Michael Wallner |
| Previous by Thread: | cvs: pecl /http http_request_object.ci: 00219, Michael Wallner |
| Next by Thread: | cvs: pecl /http http_request_object.c: 00219, Michael Wallner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |