diff options
author | Kamil Dudka <kdudka@redhat.com> | 2011-06-07 15:57:13 +0200 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2011-06-08 00:23:41 +0200 |
commit | f551aa5c1676a8a7d9b0683f047cd6f3fa1b4676 (patch) | |
tree | 59c87a4fe02a4cb56cc71f4570ca049bd6106398 /lib | |
parent | 377f88364e7b93c6cae7afef0169d575f272cf80 (diff) |
disconnect: wipe out the keeps_speed time stamp
When closing a connection, the speedchecker's timestamp is now deleted
so that it cannot accidentally be used by a fresh connection on the same
handle when examining the transfer speed.
Bug: https://bugzilla.redhat.com/679709
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2675,6 +2675,7 @@ CURLcode Curl_disconnect(struct connectdata *conn, bool dead_connection) conn_free(conn); data->state.current_conn = NULL; + Curl_speedinit(data); return CURLE_OK; } |