curl/lib
Josie Huddleston c12ad2d4e8
easy: during upkeep, attach Curl_easy to connections in the cache
During the protocol-specific parts of connection upkeep, some code
assumes that the data->conn pointer already is set correctly.  However,
there's currently no guarantee of that in the code.

This fix temporarily attaches each connection to the Curl_easy object
before performing the protocol-specific connection check on it, in a
similar manner to the connection checking in extract_if_dead().

Fixes #7386
Closes #7387
Reported-by: Josie Huddleston
2021-07-17 23:43:55 +02:00
..
vauth
vquic
vssh
vtls
.gitattributes
.gitignore
altsvc.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c
asyn-thread.c
asyn.h
base64.c
bufref.c
bufref.h
c-hyper.c
c-hyper.h
checksrc.pl
CMakeLists.txt
config-amigaos.h
config-dos.h
config-mac.h
config-os400.h
config-plan9.h
config-riscos.h
config-tpf.h
config-vxworks.h
config-win32.h
config-win32ce.h
conncache.c
conncache.h
connect.c
connect.h
content_encoding.c
content_encoding.h
cookie.c
cookie.h
curl_addrinfo.c
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake
curl_ctype.c
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
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: Remove local encoding fallbacks 2021-06-21 01:57:16 -04:00
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.se: new home 2020-11-04 23:59:47 +01:00
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
curl_sha256.h
curl_sspi.c
curl_sspi.h
curl_threads.c
curl_threads.h
curlx.h
dict.c
dict.h
doh.c
doh.h
dotdot.c
dotdot.h
dynbuf.c
dynbuf.h
easy.c
easygetopt.c
easyif.h
easyoptions.c
easyoptions.h
escape.c
escape.h
file.c
file.h
fileinfo.c
fileinfo.h
firefox-db2pem.sh
formdata.c
formdata.h
ftp.c
ftp.h
ftplistparser.c
ftplistparser.h
getenv.c curl.se: new home 2020-11-04 23:59:47 +01:00
getinfo.c
getinfo.h
gopher.c
gopher.h gopher: Implement secure gopher protocol. 2020-12-15 12:58:12 +01:00
hash.c
hash.h
hmac.c
hostasyn.c
hostcheck.c
hostcheck.h
hostip4.c
hostip6.c
hostip.c
hostip.h
hostsyn.c
hsts.c
hsts.h
http2.c
http2.h
http_aws_sigv4.c
http_aws_sigv4.h
http_chunks.c
http_chunks.h Curl_chunker: shrink the struct 2021-01-27 08:48:08 +01:00
http_digest.c lib: fix type of len passed to *printf's %*s 2021-06-30 23:53:58 +02:00
http_digest.h
http_negotiate.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
http_negotiate.h
http_ntlm.c
http_ntlm.h
http_proxy.c
http_proxy.h
http.c
http.h
idn_win32.c
if2ip.c
if2ip.h
imap.c
imap.h
inet_ntop.c
inet_ntop.h
inet_pton.c
inet_pton.h
krb5.c
ldap.c
libcurl.plist
libcurl.rc
libcurl.vers.in
llist.c
llist.h
Makefile.am
makefile.amiga
makefile.dj
Makefile.inc
Makefile.m32
Makefile.netware
Makefile.vxworks
md4.c
md5.c
memdebug.c
memdebug.h
mime.c
mime.h
mk-ca-bundle.pl
mk-ca-bundle.vbs
mprintf.c
mqtt.c
mqtt.h
multi.c
multihandle.h openssl: avoid static variable for seed flag 2021-06-29 14:18:15 +02:00
multiif.h
netrc.c
netrc.h
non-ascii.c
non-ascii.h
nonblock.c
nonblock.h
nwlib.c
nwos.c
openldap.c
optiontable.pl
parsedate.c
parsedate.h
pingpong.c
pingpong.h pingpong: rename the curl_pp_transfer enum to use PP prefix 2021-02-04 23:06:03 +01:00
pop3.c
pop3.h
progress.c
progress.h
psl.c
psl.h
quic.h version: turn version number functions into returning void 2021-06-30 23:23:34 +02:00
rand.c
rand.h
rename.c
rename.h
rtsp.c
rtsp.h
select.c
select.h
sendf.c msnprintf: return number of printed characters excluding null byte 2021-07-08 10:05:39 +02:00
sendf.h
setopt.c
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
smb.h
smtp.c
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
strtoofft.h
system_win32.c
system_win32.h
telnet.c
telnet.h
tftp.c
tftp.h
timeval.c
timeval.h
transfer.c
transfer.h
url.c
url.h
urlapi-int.h
urlapi.c
urldata.h
version_win32.c
version_win32.h
version.c
warnless.c
warnless.h
wildcard.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
wildcard.h
x509asn1.c
x509asn1.h