mirror of
https://github.com/curl/curl.git
synced 2026-05-30 11:07:27 +03:00
Make setopt() support CURLOPT_IPRESOLVE...
This commit is contained in:
parent
4ea14b25df
commit
84b3c3b569
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue