mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 22:15:13 -05:00
setopt: handle ALTSVC set to NULL
This commit is contained in:
parent
ee4cfd35a5
commit
ed73509157
@ -2725,6 +2725,7 @@ 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;
|
||||
if(argptr)
|
||||
(void)Curl_altsvc_load(data->asi, argptr);
|
||||
break;
|
||||
case CURLOPT_ALTSVC_CTRL:
|
||||
|
Loading…
Reference in New Issue
Block a user