]> granicus.if.org Git - curl/commit
expire: remove Curl_expire_latest()
authorDaniel Stenberg <daniel@haxx.se>
Thu, 8 Jun 2017 06:34:32 +0000 (08:34 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 8 Jun 2017 08:50:47 +0000 (10:50 +0200)
commit7fffe97b787b962fc0afcd5737cec411f2bc0023
tree7d184eea0449a79a51bd2367c9b4da96228a98f4
parent165b7f50991277699fc7dc4758ec7f501372a75a
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
lib/connect.c
lib/multi.c
lib/multiif.h
lib/speedcheck.c