]> granicus.if.org Git - curl/commitdiff
Cris Bailiff's fix to disable chunked transfers on re-used persistent
authorDaniel Stenberg <daniel@haxx.se>
Thu, 3 May 2001 10:53:01 +0000 (10:53 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 3 May 2001 10:53:01 +0000 (10:53 +0000)
connections.

lib/url.c

index 924f342bbab49bea4bc6a368e1dbd426f584ae83..c54cfe8d01db4e5dd4fe6bf5335b22054ff1cfd8 100644 (file)
--- 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 */