1
0
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:
Daniel Stenberg 2019-09-27 15:10:49 +02:00
parent ee4cfd35a5
commit ed73509157
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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: