summaryrefslogtreecommitdiff
path: root/lib/multiif.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-08 08:34:32 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-08 10:50:47 +0200
commit7fffe97b787b962fc0afcd5737cec411f2bc0023 (patch)
tree7d184eea0449a79a51bd2367c9b4da96228a98f4 /lib/multiif.h
parent165b7f50991277699fc7dc4758ec7f501372a75a (diff)
downloadcurl-7fffe97b787b962fc0afcd5737cec411f2bc0023.tar.gz
expire: remove Curl_expire_latest()
With the introduction of expire IDs and the fact that existing timers can be removed now and thus never expire, the concept with adding a "latest" timer is not working anymore as it risks to not expire at all. So, to be certain the timers actually are in line and will expire, the plain Curl_expire() needs to be used. The _latest() function was added as a sort of shortcut in the past that's quite simply not necessary anymore. Follow-up to 31b39c40cf90 Reported-by: Paul Harris Closes #1555
Diffstat (limited to 'lib/multiif.h')
-rw-r--r--lib/multiif.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/multiif.h b/lib/multiif.h
index a833e23e0..a877571a0 100644
--- a/lib/multiif.h
+++ b/lib/multiif.h
@@ -28,7 +28,6 @@
void Curl_expire(struct Curl_easy *data, time_t milli, expire_id);
void Curl_expire_clear(struct Curl_easy *data);
-void Curl_expire_latest(struct Curl_easy *data, time_t milli, expire_id);
void Curl_expire_done(struct Curl_easy *data, expire_id id);
bool Curl_pipeline_wanted(const struct Curl_multi* multi, int bits);
void Curl_multi_handlePipeBreak(struct Curl_easy *data);