From: Ilia Alshanetsky Date: Fri, 9 May 2003 01:10:24 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.2RC3~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65031781133e85a3771cbba4f3c3b5a94ed86bde;p=php MFH --- diff --git a/ext/curl/curl.c b/ext/curl/curl.c index d0e1244fa1..06b8b75e78 100644 --- a/ext/curl/curl.c +++ b/ext/curl/curl.c @@ -632,6 +632,8 @@ PHP_FUNCTION(curl_init) ch->handlers->read->method = PHP_CURL_DIRECT; ch->handlers->write_header->method = PHP_CURL_IGNORE; + ch->uses = 0; + curl_easy_setopt(ch->cp, CURLOPT_NOPROGRESS, 1); curl_easy_setopt(ch->cp, CURLOPT_VERBOSE, 0); curl_easy_setopt(ch->cp, CURLOPT_ERRORBUFFER, ch->err.str);