Loading lib/transfer.c +3 −4 Original line number Original line Diff line number Diff line Loading @@ -356,11 +356,10 @@ Transfer(struct connectdata *c_conn) /* /* * end-of-headers. * end-of-headers. * * * If we requested a "no body" and this isn't a "close" * If we requested a "no body", this is a good time to get * connection, this is a good time to get out and return * out and return home. * home. */ */ if(!conn->bits.close && data->bits.no_body) if(data->bits.no_body) return CURLE_OK; return CURLE_OK; break; /* exit header line loop */ break; /* exit header line loop */ } } Loading Loading
lib/transfer.c +3 −4 Original line number Original line Diff line number Diff line Loading @@ -356,11 +356,10 @@ Transfer(struct connectdata *c_conn) /* /* * end-of-headers. * end-of-headers. * * * If we requested a "no body" and this isn't a "close" * If we requested a "no body", this is a good time to get * connection, this is a good time to get out and return * out and return home. * home. */ */ if(!conn->bits.close && data->bits.no_body) if(data->bits.no_body) return CURLE_OK; return CURLE_OK; break; /* exit header line loop */ break; /* exit header line loop */ } } Loading