-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Description
b059f7d introduces new way of processing CURLOPT_DNS_CACHE_TIMEOUT option with function "setopt_set_timeout_sec" .
According to document
| disable caching, or set to -1 to make the cached entries remain forever. By |
where is special -1 value (remain cache entries forever) for this option and new implentation will disallow to set it with CURLE_BAD_FUNCTION_ARGUMENT result.
if(secs < 0)
return CURLE_BAD_FUNCTION_ARGUMENT;I think it might be serious regression, @bagder please fix this issue.
curl/libcurl version
curl 8.16+
operating system
windows