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

chunked encoding.
This commit is contained in:
Daniel Stenberg 2003-04-11 16:23:43 +00:00
parent 22d88fb28e
commit 7b51b2f128

View File

@ -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;