sagebind / isahc

The practical HTTP client that is fun to use.
https://docs.rs/isahc
MIT License
707 stars 62 forks source link

Clear timer once it expires, else it is effectively repeating #350

Closed jacobmischka closed 2 years ago

jacobmischka commented 2 years ago

After the timer "fires" once, we must clear it ourselves, curl does not clear it for us using the callback after calling action, only when it changes. After our curl-provided timeout has expired, fall back to our default timeout, or else we continue polling in a loop.

Closes #348

sagebind commented 2 years ago

Thanks for looking into this! Your analysis sounds correct to me. 👍