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
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;