aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-05-03 10:53:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-05-03 10:53:01 +0000
commit350c536f6c6b5f7179ffcce19f195a94b0c83fd7 (patch)
treea512d20add90d031d7aa6554ce8bc9366ed88b52 /lib
parenta33eb9881c2599fa6405433326562f20527c4a7d (diff)
Cris Bailiff's fix to disable chunked transfers on re-used persistent
connections.
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 924f342bb..c54cfe8d0 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2033,6 +2033,7 @@ static CURLcode Connect(struct UrlData *data,
/* re-use init */
conn->bits.reuse = TRUE; /* yes, we're re-using here */
+ conn->bits.chunk = FALSE; /* always assume not chunked unless told otherwise */
conn->maxdownload = -1; /* might have been used previously! */
free(old_conn); /* we don't need this anymore */