curl/lib
Daniel Stenberg 5ab34cba42
multi: handle pause in multi socket callback
The mev_sh_entry object might be removed if curl_easy_pause() is called
from within the socket callback.

Introduced a 'magic' struct field to to 'mev_sh_entry' to make it easier
to programmatically detect/assert if the pointer is bad - in debug
builds.

Reported-by: Joshua Rogers
Closes #21748
2026-05-26 10:52:34 +02:00
..
curlx tidy-up: miscellaneous 2026-05-20 00:50:43 +02:00
vauth tidy-up: use curlx_safefree() 2026-05-21 01:31:03 +02:00
vquic ngtcp2: fail handshake directly 2026-05-22 10:03:05 +02:00
vssh libssh: map SSH_KNOWN_HOSTS_OTHER to CURLKHMATCH_MISMATCH 2026-05-25 16:46:22 +02:00
vtls schannel: error on TLS 1.3-only with cipher list 2026-05-22 11:22:15 -04:00
.gitignore
altsvc.c tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c
asyn-base.c
asyn-thrdd.c
asyn.h
bufq.c
bufq.h tidy-up: miscellaneous 2026-05-20 00:50:43 +02:00
bufref.c
bufref.h
cf-dns.c
cf-dns.h
cf-h1-proxy.c
cf-h1-proxy.h
cf-h2-proxy.c cf-h2-prox: fix peer leak 2026-05-17 00:14:36 +02:00
cf-h2-proxy.h
cf-haproxy.c
cf-haproxy.h
cf-https-connect.c
cf-https-connect.h
cf-ip-happy.c
cf-ip-happy.h
cf-socket.c tidy-up: use curlx_safefree() 2026-05-21 01:31:03 +02:00
cf-socket.h
cfilters.c cfilters: fix busy loop on blocked transfers 2026-05-20 13:51:34 -04:00
cfilters.h
CMakeLists.txt cmake: unfold a line 2026-05-14 16:33:23 +02:00
config-mac.h
config-os400.h tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
config-riscos.h
config-win32.h
conncache.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
conncache.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
connect.c connect: remove deref of freed pointer in trace call 2026-05-17 14:20:19 +02:00
connect.h
content_encoding.c
content_encoding.h
cookie.c cookie: trim trailing dots when checking PSL 2026-05-16 11:24:28 +02:00
cookie.h cookie: constify struct pointers 2026-05-13 17:52:49 +02:00
creds.c creds: mask OAuth bearer token in trace logs 2026-05-18 23:53:41 +02:00
creds.h tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
cshutdn.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
cshutdn.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
curl_addrinfo.c
curl_addrinfo.h
curl_config-cmake.h.in src: add curlx_memzero() to clear buffers securely 2026-05-16 00:26:46 +02:00
curl_ctype.h
curl_endian.c
curl_endian.h
curl_fnmatch.c
curl_fnmatch.h
curl_fopen.c
curl_fopen.h
curl_get_line.c
curl_get_line.h
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c tidy-up: use curlx_safefree() 2026-05-21 01:31:03 +02:00
curl_gssapi.h
curl_hmac.h
curl_ldap.h
curl_md4.h
curl_md5.h
curl_memrchr.c
curl_memrchr.h
curl_ntlm_core.c
curl_ntlm_core.h
curl_printf.h
curl_range.c
curl_range.h
curl_sasl.c
curl_sasl.h
curl_setup.h src: add curlx_memzero() to clear buffers securely 2026-05-16 00:26:46 +02:00
curl_sha256.h
curl_sha512_256.c src: add curlx_memzero() to clear buffers securely 2026-05-16 00:26:46 +02:00
curl_sha512_256.h
curl_share.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
curl_share.h
curl_sspi.c
curl_sspi.h windows: update MS SDK versions in comments 2026-05-15 03:41:33 +02:00
curl_threads.c
curl_threads.h
curl_trc.c
curl_trc.h
cw-out.c docs: tidy-up scheme references 2026-05-19 16:55:45 +02:00
cw-out.h
cw-pause.c
cw-pause.h
dict.c tidy-up: miscellaneous 2026-05-20 00:50:43 +02:00
dict.h
dllmain.c
dnscache.c
dnscache.h
doh.c
doh.h tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
dynhds.c
dynhds.h
easy.c
easy_lock.h
easygetopt.c
easyif.h
easyoptions.c
easyoptions.h
escape.c
escape.h
fake_addrinfo.c
fake_addrinfo.h
file.c
file.h
fileinfo.c
fileinfo.h
formdata.c
formdata.h
ftp-int.h tidy-up: miscellaneous 2026-05-20 00:50:43 +02:00
ftp.c tidy-up: use curlx_safefree() 2026-05-21 01:31:03 +02:00
ftp.h
ftplistparser.c tidy-up: use curlx_safefree() 2026-05-21 01:31:03 +02:00
ftplistparser.h
functypes.h
getenv.c
getinfo.c tidy-up: use curlx_safefree() 2026-05-21 01:31:03 +02:00
getinfo.h
gopher.c
gopher.h
hash.c
hash.h
headers.c
headers.h
hmac.c
hostip.c tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
hostip.h
hostip4.c
hostip6.c
hsts.c tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
hsts.h
http.c tidy-up: use curlx_safefree() 2026-05-21 01:31:03 +02:00
http.h
http1.c
http1.h
http2.c http2: remove stream dependency tracking 2026-05-22 09:44:08 +02:00
http2.h
http_aws_sigv4.c tidy-up: rename more CURLcode variables to result 2026-05-19 16:55:45 +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
http_proxy.h
httpsrr.c
httpsrr.h
idn.c
idn.h
if2ip.c
if2ip.h
imap.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
imap.h
ldap.c ldap: switch of chasing referrals 2026-05-25 17:02:43 +02:00
libcurl.def
libcurl.rc
libcurl.vers.in
llist.c llist: constify struct pointers 2026-05-13 17:40:42 +02:00
llist.h llist: constify struct pointers 2026-05-13 17:40:42 +02:00
macos.c
macos.h
Makefile.am
Makefile.inc
Makefile.soname
md4.c
md5.c
memdebug.c
mime.c tidy-up: rename more CURLcode variables to result 2026-05-19 16:55:45 +02:00
mime.h
mprintf.c tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
mqtt.c
mqtt.h
multi.c multi: silence gcc 16 -Wnull-dereference, bump CI job to test 2026-05-21 15:16:21 +02:00
multi_ev.c multi: handle pause in multi socket callback 2026-05-26 10:52:34 +02:00
multi_ev.h
multi_ntfy.c
multi_ntfy.h
multihandle.h
multiif.h
netrc.c netrc: scanner refactor 2026-05-18 15:18:09 +02:00
netrc.h netrc: scanner refactor 2026-05-18 15:18:09 +02:00
noproxy.c
noproxy.h
openldap.c
optiontable.pl
parsedate.c GHA: enable -Wunused-macros in clang-tidy jobs 2026-05-16 01:17:41 +02:00
parsedate.h
peer.c tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
peer.h
pingpong.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
pingpong.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
pop3.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
pop3.h
progress.c
progress.h
protocol.c websockets: auto-tunnel through http proxy 2026-05-20 11:50:35 +02:00
protocol.h websockets: auto-tunnel through http proxy 2026-05-20 11:50:35 +02:00
psl.c
psl.h
rand.c
rand.h
ratelimit.c
ratelimit.h
request.c
request.h
rtsp.c
rtsp.h
select.c
select.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
sendf.c docs: tidy-up scheme references 2026-05-19 16:55:45 +02:00
sendf.h
setopt.c http2: remove stream dependency tracking 2026-05-22 09:44:08 +02:00
setopt.h
setup-os400.h
setup-vms.h
setup-win32.h
sha256.c
sigpipe.h
slist.c
slist.h
smb.c
smb.h
smtp.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
smtp.h
sockaddr.h
socketpair.c
socketpair.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
socks.c tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
socks.h
socks_gssapi.c
socks_sspi.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
splay.c
splay.h
strcase.c
strcase.h
strequal.c
strerror.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
strerror.h
system_win32.c
system_win32.h
telnet.c
telnet.h
tftp.c
tftp.h
thrdpool.c tidy-up: rename more CURLcode variables to result 2026-05-19 16:55:45 +02:00
thrdpool.h
thrdqueue.c
thrdqueue.h
transfer.c transfer: clear referer when set to NULL 2026-05-26 10:04:40 +02:00
transfer.h
uint-bset.c
uint-bset.h
uint-hash.c
uint-hash.h
uint-spbset.c
uint-spbset.h
uint-table.c
uint-table.h
url.c http2: remove stream dependency tracking 2026-05-22 09:44:08 +02:00
url.h
urlapi-int.h
urlapi.c urlapi: fix redirect handling if CURLU_NO_GUESS_SCHEME is set 2026-05-22 07:48:20 +02:00
urldata.h http2: remove stream dependency tracking 2026-05-22 09:44:08 +02:00
version.c
ws.c
ws.h