3.48. TIMEOUT integer

[<<<] [>>>]

' for example set the timeout to ten minutes
curl::option CurlHandle,"TIMEOUT",600

Pass an integer parameter containing the maximum time in seconds that you allow the libcurl transfer operation to take. Normally, name lookups can take a considerable time and limiting operations to less than a few minutes risk aborting perfectly normal operations. This option will cause curl to use the SIGALRM to enable timeouting system calls. NOTE that this does not work in multi-threaded programs!


[<<<] [>>>]