diff options
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 163b2cb84..b59c9f2f7 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -305,6 +305,8 @@ Transfer(struct connectdata *c_conn) } break; default: + if ((bytecount == 0) && (writebytecount == 0)) + Curl_pgrsTime(data, TIMER_STARTTRANSFER); if((keepon & KEEP_READ) && FD_ISSET(conn->sockfd, &readfd)) { /* read! */ urg = Curl_read(conn, conn->sockfd, buf, BUFSIZE -1, &nread); |