summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-05-09 01:10:24 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-05-09 01:10:24 +0000
commit65031781133e85a3771cbba4f3c3b5a94ed86bde (patch)
tree40f201eb35a12bb976a9abad1d3fe09905e6cc76
parenta678dd0832c269fe82a314d96dec4d4fd1d3d0c6 (diff)
downloadphp-git-65031781133e85a3771cbba4f3c3b5a94ed86bde.tar.gz
MFH
-rw-r--r--ext/curl/curl.c2
1 files changed, 2 insertions, 0 deletions
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);