mirror of
https://github.com/curl/curl.git
synced 2026-08-04 20:06:19 +03:00
Georg Horn's STARTTRANSFER_TIME patch
This commit is contained in:
parent
271f96f78f
commit
ca0fd33d2d
9 changed files with 41 additions and 11 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue