curl/lib
Daniel Stenberg 0d3956b8c6
http: fix CURL_DISABLE_BEARER_AUTH breakage
When bearer auth was disabled, the if/else logic got wrong and caused
problems.

Follow-up to e92edfbef6
Fixes #11892
Reported-by: Aleksander Mazur
Closes #11895
2023-09-20 13:33:31 +02:00
..
vauth digest: Use hostname to generate spn instead of realm 2023-09-08 03:23:44 -04:00
vquic quiche: fix build error with --with-ca-fallback 2023-09-14 03:10:18 -04:00
vssh spelling: use 'reuse' not 're-use' in code and elsewhere 2023-08-23 23:22:36 +02:00
vtls wolfssl: allow capath with CURLOPT_CAINFO_BLOB 2023-09-20 13:30:41 +02:00
.checksrc
.gitattributes
.gitignore
altsvc.c altsvc: accept and parse IPv6 addresses in response headers 2023-08-28 17:08:42 +02:00
altsvc.h
amigaos.c amissl: add missing signal.h include 2023-07-20 23:41:47 +02:00
amigaos.h tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
arpa_telnet.h
asyn-ares.c asyn-ares: reduce timeout to 2000ms 2023-08-29 10:40:57 +02:00
asyn-thread.c resolve: use PF_INET6 family lookups when CURL_IPRESOLVE_V6 is set 2023-08-02 00:49:16 +02:00
asyn.h
base64.c tool: add "variable" support 2023-07-31 11:51:34 +02:00
bufq.c HTTP/2: upload handling fixes 2023-06-20 09:09:25 +02:00
bufq.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
bufref.c
bufref.h
c-hyper.c hyper: remove hyptransfer->endtask 2023-09-03 18:42:37 +02:00
c-hyper.h hyper: remove hyptransfer->endtask 2023-09-03 18:42:37 +02:00
cf-h1-proxy.c hyper: fix ownership problems 2023-08-28 11:06:15 +02:00
cf-h1-proxy.h
cf-h2-proxy.c h2-proxy: remove left-over mistake in drain_tunnel() 2023-09-18 14:30:20 -04:00
cf-h2-proxy.h
cf-haproxy.c cf-haproxy: make CURLOPT_HAPROXY_CLIENT_IP set the *source* IP 2023-08-08 17:05:24 +02:00
cf-haproxy.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
cf-https-connect.c trace: make tracing available in non-debug builds 2023-08-03 17:32:25 +02:00
cf-https-connect.h
cf-socket.c http2: polish things around POST 2023-09-04 19:48:49 +02:00
cf-socket.h cf-socket: restore Curl_sock_assign_addr() 2023-05-25 14:34:39 +02:00
cfilters.c tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
cfilters.h cfilters: rename close/connect functions to avoid clashes 2023-07-20 23:35:33 +02:00
CMakeLists.txt cmake: allow SHARE_LIB_OBJECT=ON on all platforms 2023-08-09 12:01:07 +00:00
config-amigaos.h egd: delete feature detection and related source code 2023-08-01 21:58:56 +00:00
config-dos.h
config-mac.h egd: delete feature detection and related source code 2023-08-01 21:58:56 +00:00
config-os400.h gskit: remove 2023-08-07 20:57:48 +02:00
config-plan9.h
config-riscos.h cmake: cache more config and delete unused ones 2023-08-01 21:59:00 +00:00
config-win32.h cmake: cache more config and delete unused ones 2023-08-01 21:59:00 +00:00
config-win32ce.h cmake: cache more config and delete unused ones 2023-08-01 21:59:00 +00:00
conncache.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
conncache.h lib: add CURLINFO_CONN_ID and CURLINFO_XFER_ID 2023-06-12 23:53:00 +02:00
connect.c lib: failf/infof compiler warnings 2023-09-18 09:56:25 +02:00
connect.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
content_encoding.c
content_encoding.h
cookie.c cookie: set ->running in cookie_init even if data is NULL 2023-09-19 08:26:07 +02:00
cookie.h cookie: reduce variable scope, add const 2023-09-15 22:09:43 +02:00
curl_addrinfo.c misc: fix spelling mistakes 2023-05-23 10:42:09 +02:00
curl_addrinfo.h
curl_base64.h tool: add "variable" support 2023-07-31 11:51:34 +02:00
curl_config.h.cmake cmake: set SIZEOF_LONG_LONG in curl_config.h 2023-09-12 14:21:47 +02:00
curl_ctype.h escape: replace Curl_isunreserved with ISUNRESERVED 2023-09-14 03:07:45 -04:00
curl_des.c nss: remove support for this TLS library 2023-07-29 23:44:28 +02:00
curl_des.h nss: remove support for this TLS library 2023-07-29 23:44:28 +02:00
curl_endian.c
curl_endian.h
curl_fnmatch.c
curl_fnmatch.h
curl_get_line.c
curl_get_line.h
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c
curl_gssapi.h
curl_hmac.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_krb5.h
curl_ldap.h
curl_md4.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_md5.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_memory.h cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c
curl_multibyte.h
curl_ntlm_core.c crypto: ensure crypto initialization works 2023-08-08 10:44:01 +02:00
curl_ntlm_core.h nss: remove support for this TLS library 2023-07-29 23:44:28 +02:00
curl_ntlm_wb.c
curl_ntlm_wb.h
curl_path.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
curl_path.h
curl_printf.h cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
curl_range.c
curl_range.h
curl_rtmp.c lib: unify the upload/method handling 2023-04-25 12:38:38 +02:00
curl_rtmp.h
curl_sasl.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_sasl.h
curl_setup_once.h cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
curl_setup.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_sha256.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_sspi.c
curl_sspi.h
curl_threads.c
curl_threads.h
curl_trc.c trace: make tracing available in non-debug builds 2023-08-03 17:32:25 +02:00
curl_trc.h misc: spellfixes 2023-08-25 13:21:07 +02:00
curlx.h
dict.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
dict.h
doh.c doh: inherit DEBUGFUNCTION/DATA 2023-09-16 18:27:38 +02:00
doh.h
dynbuf.c
dynbuf.h http: VLH, very large header test and fixes 2023-07-24 19:25:20 +02:00
dynhds.c lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
dynhds.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
easy_lock.h cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
easy.c cookie: remove unnecessary struct fields 2023-09-15 22:09:06 +02:00
easygetopt.c
easyif.h Websocket en-/decoding 2023-04-25 23:16:51 +02:00
easyoptions.c haproxy: add --haproxy-clientip flag to spoof client IPs 2023-06-05 20:08:37 +02:00
easyoptions.h
escape.c escape: replace Curl_isunreserved with ISUNRESERVED 2023-09-14 03:07:45 -04:00
escape.h escape: replace Curl_isunreserved with ISUNRESERVED 2023-09-14 03:07:45 -04:00
file.c lib: unify the upload/method handling 2023-04-25 12:38:38 +02:00
file.h
fileinfo.c
fileinfo.h
fopen.c misc: better random strings 2023-09-16 11:37:57 +02:00
fopen.h
formdata.c configure, cmake, lib: more form api deprecation 2023-07-31 08:31:38 +02:00
formdata.h configure, cmake, lib: more form api deprecation 2023-07-31 08:31:38 +02:00
ftp.c ftp: fix temp write of ipv6 address 2023-08-30 03:22:07 -04:00
ftp.h
ftplistparser.c
ftplistparser.h
functypes.h
getenv.c
getinfo.c lib: add CURLINFO_CONN_ID and CURLINFO_XFER_ID 2023-06-12 23:53:00 +02:00
getinfo.h
gopher.c http: fix sending of large requests 2023-09-05 16:36:03 +02:00
gopher.h
hash.c hash: fix assigning same value 2023-04-14 09:26:26 +02:00
hash.h
headers.c headers: accept leading whitespaces on first response header 2023-08-07 12:45:45 +02:00
headers.h
hmac.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
hostasyn.c
hostip4.c
hostip6.c
hostip.c hostip: fix typo 2023-08-29 17:08:23 -04:00
hostip.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
hostsyn.c
hsts.c cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
hsts.h
http1.c misc: spellfixes 2023-08-25 13:21:07 +02:00
http1.h http2: raise header limitations above and beyond 2023-07-08 22:27:29 +02:00
http2.c lib: failf/infof compiler warnings 2023-09-18 09:56:25 +02:00
http2.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
http_aws_sigv4.c http_aws_sigv4: fix sorting with empty parts 2023-09-16 08:35:16 -07:00
http_aws_sigv4.h
http_chunks.c
http_chunks.h
http_digest.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
http_digest.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
http_negotiate.c
http_negotiate.h
http_ntlm.c
http_ntlm.h
http_proxy.c trace: make tracing available in non-debug builds 2023-08-03 17:32:25 +02:00
http_proxy.h
http.c http: fix CURL_DISABLE_BEARER_AUTH breakage 2023-09-20 13:33:31 +02:00
http.h misc: fix spelling 2023-08-25 20:54:14 +02:00
idn.c urlapi: return CURLUE_BAD_HOSTNAME if puny2idn encoding fails 2023-08-17 08:21:08 +02:00
idn.h urlapi: return CURLUE_BAD_HOSTNAME if puny2idn encoding fails 2023-08-17 08:21:08 +02:00
if2ip.c lib: --disable-bindlocal builds curl without local binding support 2023-08-17 17:17:59 +02:00
if2ip.h
imap.c imap: add a check for failing strdup() 2023-08-14 18:07:12 +02:00
imap.h
inet_ntop.c lib: silence compiler warning in inet_ntop6 2023-09-04 18:56:49 +00:00
inet_ntop.h
inet_pton.c
inet_pton.h
krb5.c krb5: fix "implicit conversion loses integer precision" warnings 2023-09-07 16:17:13 +02:00
ldap.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
libcurl.plist.in
libcurl.rc
libcurl.vers.in
llist.c
llist.h
macos.c macOS: fix target detection more 2023-07-29 23:42:53 +02:00
macos.h macOS: fix target detection more 2023-07-29 23:42:53 +02:00
Makefile.am
Makefile.inc gskit: remove 2023-08-07 20:57:48 +02:00
Makefile.mk cmake: add support for single libcurl compilation pass 2023-08-01 08:12:26 +00:00
Makefile.soname
md4.c crypto: ensure crypto initialization works 2023-08-08 10:44:01 +02:00
md5.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
memdebug.c
memdebug.h
mime.c misc: better random strings 2023-09-16 11:37:57 +02:00
mime.h misc: better random strings 2023-09-16 11:37:57 +02:00
mprintf.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
mqtt.c lib: failf/infof compiler warnings 2023-09-18 09:56:25 +02:00
mqtt.h
multi.c multi: more efficient pollfd count for poll 2023-09-04 19:50:22 +02:00
multihandle.h
multiif.h multi: more efficient pollfd count for poll 2023-09-04 19:50:22 +02:00
netrc.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
netrc.h
nonblock.c
nonblock.h
noproxy.c
noproxy.h
openldap.c checksrc: find bad indentation in conditions without open brace 2023-04-28 23:11:00 +02:00
optiontable.pl
parsedate.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
parsedate.h
pingpong.c http: fix sending of large requests 2023-09-05 16:36:03 +02:00
pingpong.h
pop3.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
pop3.h
progress.c
progress.h
psl.c
psl.h
rand.c rand: fix 'alnum': array is too small to include a terminating null character 2023-09-17 17:43:52 +02:00
rand.h misc: better random strings 2023-09-16 11:37:57 +02:00
rename.c
rename.h
rtsp.c lib: unify the upload/method handling 2023-04-25 12:38:38 +02:00
rtsp.h
select.c select: avoid returning an error on EINTR from select() or poll() 2023-05-19 16:16:26 +02:00
select.h
sendf.c http: fix sending of large requests 2023-09-05 16:36:03 +02:00
sendf.h http: fix sending of large requests 2023-09-05 16:36:03 +02:00
setopt.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
setopt.h
setup-os400.h os400: implement CLI tool 2023-08-30 11:38:27 +02:00
setup-vms.h egd: delete feature detection and related source code 2023-08-01 21:58:56 +00:00
setup-win32.h
sha256.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
share.c
share.h
sigpipe.h
slist.c
slist.h
smb.c http: fix sending of large requests 2023-09-05 16:36:03 +02:00
smb.h cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
smtp.c cmake: cache more config and delete unused ones 2023-08-01 21:59:00 +00:00
smtp.h
sockaddr.h
socketpair.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
socketpair.h
socks_gssapi.c
socks_sspi.c
socks.c socks: print ipv6 address within brackets 2023-07-20 23:38:20 +02:00
socks.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
speedcheck.c
speedcheck.h
splay.c
splay.h
strcase.c
strcase.h
strdup.c
strdup.h
strerror.c lib: fix a few *printf() flag mistakes 2023-08-02 23:11:09 +02:00
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
system_win32.c
system_win32.h easy: remove #ifdefs to make code easier on the eye 2023-07-26 23:57:08 +02:00
telnet.c http: fix sending of large requests 2023-09-05 16:36:03 +02:00
telnet.h
tftp.c lib: unify the upload/method handling 2023-04-25 12:38:38 +02:00
tftp.h
timediff.c
timediff.h
timeval.c timeval: use CLOCK_MONOTONIC_RAW if available 2023-06-13 00:02:32 +02:00
timeval.h
transfer.c transfer: also stop the sending on closed connection 2023-09-04 19:51:59 +02:00
transfer.h
url.c lib: failf/infof compiler warnings 2023-09-18 09:56:25 +02:00
url.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
urlapi-int.h urlapi: make internal function start with Curl_ 2023-04-27 08:36:51 +02:00
urlapi.c escape: replace Curl_isunreserved with ISUNRESERVED 2023-09-14 03:07:45 -04:00
urldata.h http: use per-request counter to check too large headers 2023-09-18 22:57:01 +02:00
version_win32.c
version_win32.h
version.c cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
warnless.c cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
warnless.h cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
ws.c websocket: rename arguments/variables to match docs 2023-07-22 00:31:31 +02:00
ws.h Websocket en-/decoding 2023-04-25 23:16:51 +02:00