diff --git a/lib/transfer.c b/lib/transfer.c index 435d3e1ec..43f567c4f 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -797,7 +797,7 @@ static CURLcode readwrite_data(struct Curl_easy *data, nread); } } - else + else if(!k->ignorebody) result = Curl_unencode_write(conn, k->writer_stack, k->str, nread); } k->badheader = HEADER_NORMAL; /* taken care of now */