mirror of
https://github.com/curl/curl.git
synced 2026-08-26 14:03:35 +03:00
Remade resume stuff to keep data in the connectdata struct instead of the
main handle struct to work with persistant connections
This commit is contained in:
parent
ebcafe73b3
commit
3fd65fb7d8
8 changed files with 97 additions and 73 deletions
|
|
@ -183,11 +183,11 @@ CURLcode Curl_file(struct connectdata *conn)
|
|||
return res;
|
||||
|
||||
now = Curl_tvnow();
|
||||
if(Curl_pgrsUpdate(data))
|
||||
if(Curl_pgrsUpdate(conn))
|
||||
res = CURLE_ABORTED_BY_CALLBACK;
|
||||
}
|
||||
now = Curl_tvnow();
|
||||
if(Curl_pgrsUpdate(data))
|
||||
if(Curl_pgrsUpdate(conn))
|
||||
res = CURLE_ABORTED_BY_CALLBACK;
|
||||
|
||||
close(fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue