mirror of
https://github.com/curl/curl.git
synced 2026-05-04 14:39:55 +03:00
Nic Hines fixed this bug when deflate or gzip contents were downloaded using
chunked encoding.
This commit is contained in:
parent
22d88fb28e
commit
7b51b2f128
1 changed files with 4 additions and 0 deletions
|
|
@ -186,10 +186,14 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
|
|||
break;
|
||||
|
||||
case DEFLATE:
|
||||
/* update conn->keep.str to point to the chunk data. */
|
||||
conn->keep.str = datap;
|
||||
result = Curl_unencode_deflate_write(conn->data, &conn->keep, piece);
|
||||
break;
|
||||
|
||||
case GZIP:
|
||||
/* update conn->keep.str to point to the chunk data. */
|
||||
conn->keep.str = datap;
|
||||
result = Curl_unencode_gzip_write(conn->data, &conn->keep, piece);
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue