diff options
author | Zdenek Pavlas <zpavlas@redhat.com> | 2013-04-26 14:56:38 +0200 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2013-04-26 15:38:22 +0200 |
commit | b37b5233cab96b5b1f2ab7f6e0b9c3df77320bba (patch) | |
tree | bf0a6af33d944c6886930e9ec34620430f3d95a1 /lib | |
parent | c68c7e588e40d2d25c1d1179b3e7d1b4af4593fd (diff) |
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 9dd85bced56f6951107f69e581c872c1e7e3e58e.
Bug: https://bugzilla.redhat.com/906031
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 3 |
1 files changed, 3 insertions, 0 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 |