mirror of
https://github.com/curl/curl.git
synced 2026-07-24 00:57:16 +03:00
setopt: handle ALTSVC set to NULL
This commit is contained in:
parent
ee4cfd35a5
commit
ed73509157
1 changed files with 2 additions and 1 deletions
|
|
@ -2725,7 +2725,8 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
|
|||
result = Curl_setstropt(&data->set.str[STRING_ALTSVC], argptr);
|
||||
if(result)
|
||||
return result;
|
||||
(void)Curl_altsvc_load(data->asi, argptr);
|
||||
if(argptr)
|
||||
(void)Curl_altsvc_load(data->asi, argptr);
|
||||
break;
|
||||
case CURLOPT_ALTSVC_CTRL:
|
||||
if(!data->asi) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue