diff options
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/http.c b/lib/http.c index 589501450..71ef7aa35 100644 --- a/lib/http.c +++ b/lib/http.c @@ -402,6 +402,9 @@ CURLcode Curl_http(struct connectdata *conn) else http = conn->proto.http; + /* We default to persistant connections */ + conn->bits.close = FALSE; + if ( (conn->protocol&(PROT_HTTP|PROT_FTP)) && data->bits.upload) { data->bits.http_put=1; |