From 65031781133e85a3771cbba4f3c3b5a94ed86bde Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Fri, 9 May 2003 01:10:24 +0000 Subject: [PATCH] MFH --- ext/curl/curl.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.50.1