enable persistant connections by default

This commit is contained in:
Daniel Stenberg
2001-03-05 13:40:08 +00:00
parent 84e94fda8b
commit c21f848c1c
2 changed files with 6 additions and 0 deletions

View File

@@ -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;