diff --git a/lib/transfer.c b/lib/transfer.c index 13f292d1353020ffd8a48eb1f9a48ee986eef8a4..54fbab1823ddcffd4bdac60ab91035649e7defc4 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -356,11 +356,10 @@ Transfer(struct connectdata *c_conn) /* * end-of-headers. * - * If we requested a "no body" and this isn't a "close" - * connection, this is a good time to get out and return - * home. + * If we requested a "no body", this is a good time to get + * out and return home. */ - if(!conn->bits.close && data->bits.no_body) + if(data->bits.no_body) return CURLE_OK; break; /* exit header line loop */ }