Loading lib/http.c +21 −15 Original line number Diff line number Diff line Loading @@ -230,6 +230,11 @@ static CURLcode perhapsrewind(struct connectdata *conn) bytessent = http->writebytecount; if(conn->bits.authneg) /* This is a state where we are known to be negotiating and we don't send any data then. */ expectsend = 0; else { /* figure out how much data we are expected to send */ switch(data->set.httpreq) { case HTTPREQ_POST: Loading @@ -246,6 +251,7 @@ static CURLcode perhapsrewind(struct connectdata *conn) default: break; } } conn->bits.rewindaftersend = FALSE; /* default */ Loading Loading
lib/http.c +21 −15 Original line number Diff line number Diff line Loading @@ -230,6 +230,11 @@ static CURLcode perhapsrewind(struct connectdata *conn) bytessent = http->writebytecount; if(conn->bits.authneg) /* This is a state where we are known to be negotiating and we don't send any data then. */ expectsend = 0; else { /* figure out how much data we are expected to send */ switch(data->set.httpreq) { case HTTPREQ_POST: Loading @@ -246,6 +251,7 @@ static CURLcode perhapsrewind(struct connectdata *conn) default: break; } } conn->bits.rewindaftersend = FALSE; /* default */ Loading