Georg Horn's STARTTRANSFER_TIME patch

This commit is contained in:
Daniel Stenberg 2001-11-20 15:00:50 +00:00
parent 271f96f78f
commit ca0fd33d2d
9 changed files with 41 additions and 11 deletions

View file

@ -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);