Loading lib/transfer.c +7 −5 Original line number Diff line number Diff line Loading @@ -839,6 +839,12 @@ Transfer(struct connectdata *c_conn) break; } /* Update read/write counters */ if(conn->bytecountp) *conn->bytecountp = bytecount; /* read count */ if(conn->writebytecountp) *conn->writebytecountp = writebytecount; /* write count */ now = Curl_tvnow(); if(Curl_pgrsUpdate(conn)) urg = CURLE_ABORTED_BY_CALLBACK; Loading @@ -862,6 +868,7 @@ Transfer(struct connectdata *c_conn) bytecount, conn->size); return CURLE_OPERATION_TIMEOUTED; } } } Loading @@ -884,11 +891,6 @@ Transfer(struct connectdata *c_conn) if(Curl_pgrsUpdate(conn)) return CURLE_ABORTED_BY_CALLBACK; if(conn->bytecountp) *conn->bytecountp = bytecount; /* read count */ if(conn->writebytecountp) *conn->writebytecountp = writebytecount; /* write count */ return CURLE_OK; } Loading Loading
lib/transfer.c +7 −5 Original line number Diff line number Diff line Loading @@ -839,6 +839,12 @@ Transfer(struct connectdata *c_conn) break; } /* Update read/write counters */ if(conn->bytecountp) *conn->bytecountp = bytecount; /* read count */ if(conn->writebytecountp) *conn->writebytecountp = writebytecount; /* write count */ now = Curl_tvnow(); if(Curl_pgrsUpdate(conn)) urg = CURLE_ABORTED_BY_CALLBACK; Loading @@ -862,6 +868,7 @@ Transfer(struct connectdata *c_conn) bytecount, conn->size); return CURLE_OPERATION_TIMEOUTED; } } } Loading @@ -884,11 +891,6 @@ Transfer(struct connectdata *c_conn) if(Curl_pgrsUpdate(conn)) return CURLE_ABORTED_BY_CALLBACK; if(conn->bytecountp) *conn->bytecountp = bytecount; /* read count */ if(conn->writebytecountp) *conn->writebytecountp = writebytecount; /* write count */ return CURLE_OK; } Loading