curl/lib
Daniel Stenberg 5e8d921f55
openssl: shortcut store_expired for negative timeouts
Avoid some unnecessary computation if the timeout is negative.

Spotted by CodeSonar
Closes #13919
2024-06-11 10:51:00 +02:00
..
vauth lib/v*: tidy up types and casts 2024-06-02 19:27:17 +02:00
vquic connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
vssh lib/v*: tidy up types and casts 2024-06-02 19:27:17 +02:00
vtls openssl: shortcut store_expired for negative timeouts 2024-06-11 10:51:00 +02:00
.checksrc
.gitattributes
.gitignore
altsvc.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
altsvc.h lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
asyn-thread.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
asyn.h
base64.c
bufq.c
bufq.h
bufref.c
bufref.h
c-hyper.c
c-hyper.h
cf-h1-proxy.c connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
cf-h1-proxy.h
cf-h2-proxy.c connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
cf-h2-proxy.h
cf-haproxy.c connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
cf-haproxy.h
cf-https-connect.c connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
cf-https-connect.h
cf-socket.c connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
cf-socket.h socket: support binding to interface *AND* IP 2024-06-04 23:47:54 +02:00
cfilters.c connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
cfilters.h connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
CMakeLists.txt cmake: use APPLE instead of CMAKE_SYSTEM_NAME string 2024-05-27 18:17:43 +02:00
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
conncache.h build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
connect.c connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
connect.h connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
content_encoding.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
content_encoding.h
cookie.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
cookie.h
curl_addrinfo.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake socketpair: add eventfd and use SOCK_NONBLOCK for socketpair() 2024-06-04 23:45:36 +02:00
curl_ctype.h
curl_des.c
curl_des.h
curl_endian.c
curl_endian.h
curl_fnmatch.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
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
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 lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
curl_ntlm_core.h
curl_path.c
curl_path.h
curl_printf.h
curl_range.c
curl_range.h
curl_rtmp.c
curl_rtmp.h
curl_sasl.c
curl_sasl.h
curl_setup_once.h
curl_setup.h build: untangle UNITTESTS and DEBUGBUILD macros 2024-05-27 21:15:50 +02:00
curl_sha256.h
curl_sha512_256.c cmake: fix building in unity mode 2024-05-24 03:25:19 -04:00
curl_sha512_256.h
curl_sspi.c
curl_sspi.h
curl_threads.c windows: fix UWP builds, add GHA job 2024-06-05 00:52:24 +02:00
curl_threads.h windows: fix UWP builds, add GHA job 2024-06-05 00:52:24 +02:00
curl_trc.c
curl_trc.h
curlx.h
cw-out.c
cw-out.h
dict.c
dict.h
dllmain.c
doh.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
doh.h build: untangle UNITTESTS and DEBUGBUILD macros 2024-05-27 21:15:50 +02:00
dynbuf.c
dynbuf.h
dynhds.c build: untangle UNITTESTS and DEBUGBUILD macros 2024-05-27 21:15:50 +02:00
dynhds.h build: untangle UNITTESTS and DEBUGBUILD macros 2024-05-27 21:15:50 +02:00
easy_lock.h
easy.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
easygetopt.c
easyif.h build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
easyoptions.c
easyoptions.h
escape.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
escape.h
file.c
file.h
fileinfo.c
fileinfo.h
fopen.c
fopen.h
formdata.c
formdata.h
ftp.c connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
ftp.h
ftplistparser.c
ftplistparser.h
functypes.h
getenv.c
getinfo.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
getinfo.h
gopher.c
gopher.h
hash.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
hash.h multi: add multi->proto_hash, a key-value store for protocol data 2024-05-26 00:15:01 +02:00
headers.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
headers.h
hmac.c
hostasyn.c
hostip4.c
hostip6.c
hostip.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
hostip.h
hostsyn.c
hsts.c build: untangle UNITTESTS and DEBUGBUILD macros 2024-05-27 21:15:50 +02:00
hsts.h build: untangle UNITTESTS and DEBUGBUILD macros 2024-05-27 21:15:50 +02:00
http1.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
http1.h
http2.c connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
http2.h
http_aws_sigv4.c lib: prefer var = time(NULL) over time(&var) 2024-05-29 21:45:28 +02:00
http_aws_sigv4.h
http_chunks.c
http_chunks.h
http_digest.c
http_digest.h
http_negotiate.c
http_negotiate.h
http_ntlm.c
http_ntlm.h
http_proxy.c connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
http_proxy.h
http.c build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
http.h
idn.c
idn.h
if2ip.c
if2ip.h
imap.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
imap.h
inet_ntop.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
inet_ntop.h lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
inet_pton.c
inet_pton.h
krb5.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
ldap.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
libcurl.rc
libcurl.vers.in
llist.c
llist.h
macos.c
macos.h
Makefile.am build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
Makefile.inc
Makefile.mk
Makefile.soname
md4.c
md5.c
memdebug.c
memdebug.h lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
mime.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
mime.h
mprintf.c
mqtt.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
mqtt.h
multi.c multi: prepare multi_wait() for future shutdown usage 2024-06-10 13:11:05 +02:00
multihandle.h socketpair: add eventfd and use SOCK_NONBLOCK for socketpair() 2024-06-04 23:45:36 +02:00
multiif.h
netrc.c
netrc.h
nonblock.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
nonblock.h
noproxy.c noproxy: test bad ipv6 net size first 2024-06-07 00:22:59 +02:00
noproxy.h noproxy: patterns need to be comma separated 2024-06-01 12:25:13 +02:00
openldap.c
optiontable.pl
parsedate.c
parsedate.h
pingpong.c
pingpong.h
pop3.c
pop3.h
progress.c
progress.h
psl.c
psl.h
rand.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
rand.h
rename.c
rename.h
request.c build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
request.h
rtsp.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
rtsp.h
select.c multi: prepare multi_wait() for future shutdown usage 2024-06-10 13:11:05 +02:00
select.h multi: prepare multi_wait() for future shutdown usage 2024-06-10 13:11:05 +02:00
sendf.c
sendf.h
setopt.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
setopt.h
setup-os400.h
setup-vms.h
setup-win32.h
sha256.c cmake: fix building in unity mode 2024-05-24 03:25:19 -04:00
share.c
share.h
sigpipe.h
slist.c
slist.h
smb.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
smb.h
smtp.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
smtp.h
sockaddr.h
socketpair.c socketpair: provide Curl_socketpair only when !CURL_DISABLE_SOCKETPAIR 2024-06-07 10:47:15 +02:00
socketpair.h socketpair: provide Curl_socketpair only when !CURL_DISABLE_SOCKETPAIR 2024-06-07 10:47:15 +02:00
socks_gssapi.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
socks_sspi.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
socks.c connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
socks.h
speedcheck.c
speedcheck.h
splay.c
splay.h
strcase.c
strcase.h
strdup.c
strdup.h
strerror.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
system_win32.c windows: fix UWP builds, add GHA job 2024-06-05 00:52:24 +02:00
system_win32.h asyn-thread: avoid using GetAddrInfoExW with impersonation 2024-05-23 23:56:58 +02:00
telnet.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
telnet.h
tftp.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
tftp.h
timediff.c
timediff.h
timeval.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
timeval.h
transfer.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
transfer.h
url.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
url.h
urlapi-int.h build: untangle UNITTESTS and DEBUGBUILD macros 2024-05-27 21:15:50 +02:00
urlapi.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
urldata.h connection: shutdown TLS (for FTP) better 2024-06-10 13:08:12 +02:00
version_win32.c windows: fix UWP builds, add GHA job 2024-06-05 00:52:24 +02:00
version_win32.h
version.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
warnless.c
warnless.h
ws.c lib: tidy up types and casts 2024-06-05 14:02:39 +02:00
ws.h