]> granicus.if.org Git - curl/commit
multi: set the EXPIRE_*TIMEOUT timers at TIMER_STARTSINGLE time
authorDaniel Stenberg <daniel@haxx.se>
Sun, 27 Jan 2019 22:45:42 +0000 (23:45 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 1 Feb 2019 07:19:40 +0000 (08:19 +0100)
commit6f61933adfa60236ae2b5c57ddfdf3e3a36dcc2a
tree6534c69cceb4e6fa5fbfc8d15f41d97f9dedadc5
parent427fa512be481b21c4d57b27127766fa26f70d6a
multi: set the EXPIRE_*TIMEOUT timers at TIMER_STARTSINGLE time

To make sure Curl_timeleft() also thinks the timeout has been reached
when one of the EXPIRE_*TIMEOUTs expires.

Bug: https://curl.haxx.se/mail/lib-2019-01/0073.html
Reported-by: Zhao Yisha
Closes #3501
lib/multi.c
lib/transfer.c