mirror of
https://github.com/curl/curl.git
synced 2025-03-31 16:00:35 +08:00
Make setopt() support CURLOPT_IPRESOLVE...
This commit is contained in:
parent
4ea14b25df
commit
84b3c3b569
@ -1258,6 +1258,10 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...)
|
||||
data->set.ftp_ssl = va_arg(param, long);
|
||||
break;
|
||||
|
||||
case CURLOPT_IPRESOLVE:
|
||||
data->set.ip_version = va_arg(param, long);
|
||||
break;
|
||||
|
||||
default:
|
||||
/* unknown tag and its companion, just ignore: */
|
||||
return CURLE_FAILED_INIT; /* correct this */
|
||||
|
Loading…
x
Reference in New Issue
Block a user