mirror of
https://github.com/curl/curl.git
synced 2026-07-29 20:38:05 +03:00
Cris Bailiff's fix to disable chunked transfers on re-used persistent
connections.
This commit is contained in:
parent
a33eb9881c
commit
350c536f6c
1 changed files with 1 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue