On Mon, 23 Sep 2019, Paul Dreik via curl-library wrote:

https://github.com/curl/curl/blob/41db01a39f88d05f43344d0ea1d1b588b3441403/lib/doh.c#L242

the timeout_ms can become negative, and in that case I believe the doh should return an error (perhaps CURLE_OPERATION_TIMEDOUT?)

It should indeed! Will you fix?

--

 / daniel.haxx.se | Get the best commercial curl support there is - from me
                  | Private help, bug fixes, support, ports, new features
                  | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to