diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http_chunks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/http_chunks.c b/lib/http_chunks.c index cc89068f3..8e44b6d05 100644 --- a/lib/http_chunks.c +++ b/lib/http_chunks.c @@ -118,10 +118,9 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn, /* the original data is written to the client, but we go on with the chunk read process, to properly calculate the content length*/ - if ( data->set.http_te_skip ) + if (data->set.http_te_skip && !k->ignorebody) Curl_client_write(conn, CLIENTWRITE_BODY, datap,datalen); - while(length) { switch(ch->state) { case CHUNK_HEX: |