mirror of
https://github.com/curl/curl.git
synced 2026-08-26 04:43:35 +03:00
url: initialize speed-check data for file:// protocol
... in order to prevent an artificial timeout event based on stale
speed-check data from a previous network transfer. This commit fixes
a regression caused by 9dd85bced5.
Bug: https://bugzilla.redhat.com/906031
This commit is contained in:
parent
c68c7e588e
commit
b37b5233ca
2 changed files with 5 additions and 1 deletions
|
|
@ -5193,6 +5193,9 @@ static CURLcode create_conn(struct SessionHandle *data,
|
|||
-1, NULL); /* no upload */
|
||||
}
|
||||
|
||||
/* since we skip do_init() */
|
||||
Curl_speedinit(data);
|
||||
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue