Skip to content
Snippets Groups Projects
Commit 7b51b2f1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Nic Hines fixed this bug when deflate or gzip contents were downloaded using

chunked encoding.
parent 22d88fb2
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment