mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
avoid the write loop
This commit is contained in:
parent
940707ad66
commit
9371aed46c
@ -949,7 +949,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
|||||||
|
|
||||||
int i, si;
|
int i, si;
|
||||||
ssize_t bytes_written;
|
ssize_t bytes_written;
|
||||||
bool writedone=FALSE;
|
bool writedone=TRUE;
|
||||||
|
|
||||||
if ((k->bytecount == 0) && (k->writebytecount == 0))
|
if ((k->bytecount == 0) && (k->writebytecount == 0))
|
||||||
Curl_pgrsTime(data, TIMER_STARTTRANSFER);
|
Curl_pgrsTime(data, TIMER_STARTTRANSFER);
|
||||||
|
Loading…
Reference in New Issue
Block a user