mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 16:48:49 -05:00
setopt: handle ALTSVC set to NULL
This commit is contained in:
parent
ee4cfd35a5
commit
ed73509157
@ -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…
Reference in New Issue
Block a user