mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04: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…
Reference in New Issue
Block a user