multi: make Curl_expire() work with 0 ms timeouts
Previously, passing a timeout of zero to Curl_expire() was a magic code for clearing all timeouts for the handle. That is now instead made with the new Curl_expire_clear() function and thus a 0 timeout is fine to set and will trigger a timeout ASAP. This will help removing short delays, in particular notable when doing HTTP/2.
Showing
- lib/easy.c 1 addition, 1 deletionlib/easy.c
- lib/http2.c 4 additions, 5 deletionslib/http2.c
- lib/multi.c 84 additions, 74 deletionslib/multi.c
- lib/multiif.h 1 addition, 0 deletionslib/multiif.h
- lib/pipeline.c 3 additions, 3 deletionslib/pipeline.c
- lib/ssh.c 1 addition, 1 deletionlib/ssh.c
- lib/url.c 1 addition, 1 deletionlib/url.c
Loading
Please register or sign in to comment