From: Daniel Stenberg Date: Thu, 3 May 2001 10:53:01 +0000 (+0000) Subject: Cris Bailiff's fix to disable chunked transfers on re-used persistent X-Git-Tag: curl-7_7_3~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=350c536f6c6b5f7179ffcce19f195a94b0c83fd7;p=curl Cris Bailiff's fix to disable chunked transfers on re-used persistent connections. --- 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 */