On Thu, 14 Nov 2019, karthikeyan Sivakkumar via curl-library wrote:

We have a developed a C application that makes a http/https call for third
party from fraud check using curl library.
Our client has a requirement to handle curl timeout of *200 milliseconds*.
I tried to use CURLOPT_TIMEOUT_MS option but from my test results I could
see that the minimum timeout value that can be given is 1000 milliseconds.
Even if I configure 200 milliseconds, the curl call times out only after 1
second (1000 milliseconds).

What curl version is that? Are you possibly building it to use the synchronous name resolver? libcurl shouldn't have a problem with sub-second timeouts in general.

--

 / 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