mirror of
https://github.com/curl/curl.git
synced 2026-08-26 10:23:31 +03:00
setopt: add CURLOPT_CURLU
Allows an application to pass in a pre-parsed URL via a URL handle. Closes #3227
This commit is contained in:
parent
073332b525
commit
5c4fe0d826
16 changed files with 310 additions and 9 deletions
|
|
@ -1204,6 +1204,12 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option,
|
|||
return CURLE_BAD_FUNCTION_ARGUMENT;
|
||||
data->set.low_speed_time = arg;
|
||||
break;
|
||||
case CURLOPT_CURLU:
|
||||
/*
|
||||
* pass CURLU to set URL
|
||||
*/
|
||||
data->set.uh = va_arg(param, CURLU *);
|
||||
break;
|
||||
case CURLOPT_URL:
|
||||
/*
|
||||
* The URL to fetch.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue