|
|
| version 1.80, 2026/07/19 19:06:14 | version 1.81, 2026/07/19 19:42:00 |
|---|---|
| Line 592 static void curl_setopt(HashStringValue: | Line 592 static void curl_setopt(HashStringValue: |
| // hash of $.[host:port][address[,address]] entries to populate DNS cache with, bypassing the resolver | // hash of $.[host:port][address[,address]] entries to populate DNS cache with, bypassing the resolver |
| HashStringValue *value_hash=v.as_hash("failed to set option 'resolve': value"); | HashStringValue *value_hash=v.as_hash("failed to set option 'resolve': value"); |
| res=f_curl_easy_setopt(curl(), opt->id, options().resolve=curl_resolve(value_hash)); | res=f_curl_easy_setopt(curl(), opt->id, options().resolve=value_hash ? curl_resolve(value_hash) : 0); |
| break; | break; |
| } | } |
| case CurlOption::CURL_FILE:{ | case CurlOption::CURL_FILE:{ |