[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 112/222: setopt: handle ALTSVC set to NULL
From: |
gnunet |
Subject: |
[gnurl] 112/222: setopt: handle ALTSVC set to NULL |
Date: |
Thu, 07 Nov 2019 00:10:08 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit ed735091574122fd5b2f5bac1edc56d5f03aa969
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Sep 27 15:10:49 2019 +0200
setopt: handle ALTSVC set to NULL
---
lib/setopt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/setopt.c b/lib/setopt.c
index 7058a249c..f2006cbf4 100644
--- a/lib/setopt.c
+++ b/lib/setopt.c
@@ -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) {
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 137/222: cookie: avoid harmless use after free, (continued)
- [gnurl] 137/222: cookie: avoid harmless use after free, gnunet, 2019/11/06
- [gnurl] 105/222: README: minor grammar fix, gnunet, 2019/11/06
- [gnurl] 103/222: quiche: don't close connection at end of stream!, gnunet, 2019/11/06
- [gnurl] 110/222: INSTALL: add vcpkg installation instructions, gnunet, 2019/11/06
- [gnurl] 101/222: Revert "FTP: url-decode path before evaluation", gnunet, 2019/11/06
- [gnurl] 104/222: HTTP3: fix prefix parameter for ngtcp2 build, gnunet, 2019/11/06
- [gnurl] 96/222: HTTP3: update quic.aiortc.org + add link to server list, gnunet, 2019/11/06
- [gnurl] 107/222: tests: fix narrowing conversion warnings, gnunet, 2019/11/06
- [gnurl] 116/222: BINDINGS: Kapito is an Erlang library, basically a binding, gnunet, 2019/11/06
- [gnurl] 111/222: RELEASE-NOTES: synced, gnunet, 2019/11/06
- [gnurl] 112/222: setopt: handle ALTSVC set to NULL,
gnunet <=
- [gnurl] 118/222: quiche: update HTTP/3 config creation to new API, gnunet, 2019/11/06
- [gnurl] 115/222: BINDINGS: added clj-curl, gnunet, 2019/11/06
- [gnurl] 119/222: mailmap: a Lucas fix, gnunet, 2019/11/06
- [gnurl] 120/222: altsvc: accept quoted ma and persist values, gnunet, 2019/11/06
- [gnurl] 124/222: lib: silence conversion warnings, gnunet, 2019/11/06
- [gnurl] 113/222: cookies: using a share with cookies shouldn't enable the cookie engine, gnunet, 2019/11/06
- [gnurl] 126/222: checksrc: fix uninitialized variable warning, gnunet, 2019/11/06
- [gnurl] 117/222: BINDINGS: PureBasic, Net::Curl for perl and Nim, gnunet, 2019/11/06
- [gnurl] 133/222: RELEASE-NOTES: synced, gnunet, 2019/11/06
- [gnurl] 134/222: ESNI: initial build/setup, gnunet, 2019/11/06