curl/lib
Daniel Gustafsson 17d302e562 setopt: Fix disabling all protocols
When disabling all protocols without enabling any, the resulting
set of allowed protocols remained the default set.  Clearing the
allowed set before inspecting the passed value from --proto make
the set empty even in the errorpath of no protocols enabled.

Co-authored-by: Dan Fandrich <dan@telarity.com>
Reported-by: Dan Fandrich <dan@telarity.com>
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Closes: #13004
2024-02-27 15:43:56 +01:00
..
vauth digest: support SHA-512/256 2024-02-20 11:36:12 +01:00
vquic OpenSSL QUIC: adapt to v3.3.x 2024-02-20 10:00:37 +01:00
vssh lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
vtls rustls: make curl compile with 0.12.0 2024-02-26 08:59:43 +01:00
.checksrc
.gitattributes
.gitignore
altsvc.c lib: convert Curl_get_line to use dynbuf 2024-02-07 09:22:10 +01:00
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c
asyn-thread.c
asyn.h
base64.c
bufq.c
bufq.h
bufref.c
bufref.h
c-hyper.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
c-hyper.h lib: send rework 2024-02-27 08:58:10 +01:00
cf-h1-proxy.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
cf-h1-proxy.h
cf-h2-proxy.c
cf-h2-proxy.h
cf-haproxy.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
cf-haproxy.h
cf-https-connect.c
cf-https-connect.h
cf-socket.c ftp: tracing improvements 2024-02-08 23:14:33 +01:00
cf-socket.h
cfilters.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
cfilters.h lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
CMakeLists.txt
config-amigaos.h
config-dos.h
config-mac.h
config-os400.h
config-plan9.h
config-riscos.h
config-win32.h
config-win32ce.h
conncache.c multi: add xfer_buf to multi handle 2024-02-09 09:43:50 +01:00
conncache.h
connect.c CURLINFO_USED_PROXY: return bool whether the proxy was used 2024-02-22 08:38:53 +01:00
connect.h
content_encoding.c
content_encoding.h
cookie.c lib: convert Curl_get_line to use dynbuf 2024-02-07 09:22:10 +01:00
cookie.h
curl_addrinfo.c
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake
curl_ctype.h
curl_des.c
curl_des.h
curl_endian.c
curl_endian.h
curl_fnmatch.c
curl_fnmatch.h
curl_get_line.c lib: convert Curl_get_line to use dynbuf 2024-02-07 09:22:10 +01:00
curl_get_line.h lib: convert Curl_get_line to use dynbuf 2024-02-07 09:22:10 +01:00
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c
curl_gssapi.h
curl_hmac.h
curl_krb5.h
curl_ldap.h
curl_md4.h
curl_md5.h
curl_memory.h
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c
curl_multibyte.h
curl_ntlm_core.c
curl_ntlm_core.h
curl_ntlm_wb.c
curl_ntlm_wb.h
curl_path.c
curl_path.h
curl_printf.h
curl_range.c
curl_range.h
curl_rtmp.c lib: send rework 2024-02-27 08:58:10 +01:00
curl_rtmp.h
curl_sasl.c
curl_sasl.h
curl_setup_once.h
curl_setup.h sha512_256: remove the cast macro, minor language/format edits 2024-02-20 17:49:01 +01:00
curl_sha256.h
curl_sha512_256.c sha512_256: remove the cast macro, minor language/format edits 2024-02-20 17:49:01 +01:00
curl_sha512_256.h SHA-512/256: implement hash algorithm 2024-02-20 11:35:56 +01:00
curl_sspi.c
curl_sspi.h
curl_threads.c
curl_threads.h
curl_trc.c DoH: add trace configuration 2024-02-20 14:01:59 +01:00
curl_trc.h DoH: add trace configuration 2024-02-20 14:01:59 +01:00
curlx.h
cw-out.c lib: move client writer into own source 2024-02-26 14:25:41 +01:00
cw-out.h lib: move client writer into own source 2024-02-26 14:25:41 +01:00
dict.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
dict.h
doh.c DoH: add trace configuration 2024-02-20 14:01:59 +01:00
doh.h DoH: add trace configuration 2024-02-20 14:01:59 +01:00
dynbuf.c
dynbuf.h
dynhds.c
dynhds.h
easy_lock.h
easy.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
easygetopt.c
easyif.h lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
easyoptions.c
easyoptions.h
escape.c
escape.h
file.c file: use xfer buf for file:// transfers 2024-02-18 02:12:45 -05:00
file.h
fileinfo.c
fileinfo.h
fopen.c fopen: fix narrowing conversion warning on 32-bit Android 2024-02-27 14:26:22 +01:00
fopen.h
formdata.c
formdata.h
ftp.c lib: send rework 2024-02-27 08:58:10 +01:00
ftp.h
ftplistparser.c
ftplistparser.h
functypes.h
getenv.c
getinfo.c CURLINFO_USED_PROXY: return bool whether the proxy was used 2024-02-22 08:38:53 +01:00
getinfo.h
gopher.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
gopher.h
hash.c
hash.h
headers.c http: move headers collecting to writer 2024-02-26 09:44:15 +01:00
headers.h http: move headers collecting to writer 2024-02-26 09:44:15 +01:00
hmac.c
hostasyn.c
hostip4.c
hostip6.c
hostip.c
hostip.h
hostsyn.c
hsts.c lib: convert Curl_get_line to use dynbuf 2024-02-07 09:22:10 +01:00
hsts.h
http1.c
http1.h
http2.c
http2.h
http_aws_sigv4.c
http_aws_sigv4.h
http_chunks.c http_chunks: remove unused 'endptr' variable 2024-02-26 17:20:51 +01:00
http_chunks.h
http_digest.c
http_digest.h
http_negotiate.c
http_negotiate.h
http_ntlm.c
http_ntlm.h
http_proxy.c
http_proxy.h
http.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
http.h lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
idn.c
idn.h
if2ip.c
if2ip.h
imap.c lib: send rework 2024-02-27 08:58:10 +01:00
imap.h
inet_ntop.c
inet_ntop.h
inet_pton.c
inet_pton.h
krb5.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
ldap.c lib: send rework 2024-02-27 08:58:10 +01:00
libcurl.plist.in
libcurl.rc
libcurl.vers.in
llist.c
llist.h
macos.c
macos.h
Makefile.am
Makefile.inc lib: send rework 2024-02-27 08:58:10 +01:00
Makefile.mk
Makefile.soname
md4.c
md5.c
memdebug.c
memdebug.h
mime.c
mime.h
mprintf.c mprintf: fix format prefix I32/I64 for windows compilers 2024-02-24 00:51:20 -05:00
mqtt.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
mqtt.h
multi.c multi: make add_handle free any multi_easy 2024-02-27 10:03:24 +01:00
multihandle.h multi: add xfer_buf to multi handle 2024-02-09 09:43:50 +01:00
multiif.h multi: add xfer_buf to multi handle 2024-02-09 09:43:50 +01:00
netrc.c lib: convert Curl_get_line to use dynbuf 2024-02-07 09:22:10 +01:00
netrc.h
nonblock.c
nonblock.h
noproxy.c
noproxy.h
openldap.c lib: send rework 2024-02-27 08:58:10 +01:00
optiontable.pl
parsedate.c
parsedate.h
pingpong.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
pingpong.h lib: send rework 2024-02-27 08:58:10 +01:00
pop3.c lib: send rework 2024-02-27 08:58:10 +01:00
pop3.h
progress.c
progress.h
psl.c
psl.h
rand.c
rand.h
rename.c
rename.h
request.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
request.h lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
rtsp.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
rtsp.h
select.c
select.h
sendf.c lib: send rework 2024-02-27 08:58:10 +01:00
sendf.h lib: send rework 2024-02-27 08:58:10 +01:00
setopt.c setopt: Fix disabling all protocols 2024-02-27 15:43:56 +01:00
setopt.h
setup-os400.h
setup-vms.h
setup-win32.h
sha256.c
share.c
share.h
sigpipe.h
slist.c
slist.h
smb.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
smb.h
smtp.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
smtp.h
sockaddr.h
socketpair.c
socketpair.h
socks_gssapi.c
socks_sspi.c
socks.c
socks.h
speedcheck.c
speedcheck.h
splay.c
splay.h
strcase.c
strcase.h
strdup.c
strdup.h
strerror.c
strerror.h
strtok.c
strtok.h
strtoofft.c lib: initialize output pointers to NULL before calling strto[ff,l,ul] 2024-02-26 17:19:27 +01:00
strtoofft.h
system_win32.c
system_win32.h
telnet.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
telnet.h
tftp.c lib: send rework 2024-02-27 08:58:10 +01:00
tftp.h
timediff.c
timediff.h
timeval.c
timeval.h
transfer.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
transfer.h lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
url.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
url.h lib: send rework 2024-02-27 08:58:10 +01:00
urlapi-int.h
urlapi.c lib: initialize output pointers to NULL before calling strto[ff,l,ul] 2024-02-26 17:19:27 +01:00
urldata.h lib: send rework 2024-02-27 08:58:10 +01:00
version_win32.c
version_win32.h
version.c
warnless.c
warnless.h
ws.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
ws.h