curl/lib
Daniel Stenberg a1ec035afc
multi: timeout handles even without connection
When there is a "change" in a multi handle and pending handles are moved
back to the main list to be retested if they can proceed further (for
example a previous transfer completed or a connection has a confirmed
multiplexed state), the timeout check in multi_runsingle() would not
trigger because it required an established connection.

This could make a pending tranfer go back to pending state even though
it had been "in progress" for a longer time than permitted. By removing
the requirement for an associated connection, the timeout check will be
done proper even for transfers that has not yet been assigned one.

Ref #13227
Reported-by: Rahul Krishna M
Closes #13276
2024-04-15 09:49:14 +02:00
..
vauth digest: add check for hashing error 2024-03-07 10:24:27 +01:00
vquic lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
vssh lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
vtls build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
.checksrc
.gitattributes
.gitignore build: remove MacOSX-Framework script 2024-04-08 22:46:51 +02:00
altsvc.c lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
asyn-thread.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
asyn.h
base64.c
bufq.c bufq: writing into a softlimit queue cannot be partial 2024-03-03 17:35:47 +01:00
bufq.h lib: Curl_read/Curl_write clarifications 2024-02-28 12:58:55 +01:00
bufref.c
bufref.h
c-hyper.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
c-hyper.h http: expect 100 rework 2024-03-18 12:41:56 +01:00
cf-h1-proxy.c tls: use shared init code for TCP+QUIC 2024-04-09 09:08:05 +02:00
cf-h1-proxy.h
cf-h2-proxy.c tls: use shared init code for TCP+QUIC 2024-04-09 09:08:05 +02:00
cf-h2-proxy.h
cf-haproxy.c tls: use shared init code for TCP+QUIC 2024-04-09 09:08:05 +02:00
cf-haproxy.h
cf-https-connect.c
cf-https-connect.h
cf-socket.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
cf-socket.h lib: keep conn IP information together 2024-03-09 23:24:58 +01:00
cfilters.c misc: fix typos 2024-04-11 15:44:22 +02:00
cfilters.h misc: fix typos 2024-04-11 15:44:22 +02:00
CMakeLists.txt
config-amigaos.h
config-dos.h
config-mac.h
config-os400.h lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
config-plan9.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
config-riscos.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
config-win32.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
config-win32ce.h
conncache.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
conncache.h
connect.c lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
connect.h lib: keep conn IP information together 2024-03-09 23:24:58 +01:00
content_encoding.c content_encoding: brotli and others, pass through 0-length writes 2024-03-28 16:21:20 +01:00
content_encoding.h
cookie.c cookie: if psl fails, reject the cookie 2024-03-04 08:46:59 +01:00
cookie.h
curl_addrinfo.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
curl_ctype.h
curl_des.c misc: Fix typos in docs and lib 2024-03-01 09:59:48 +01:00
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_path.c
curl_path.h
curl_printf.h
curl_range.c
curl_range.h
curl_rtmp.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
curl_rtmp.h
curl_sasl.c
curl_sasl.h
curl_setup_once.h lib: use #error instead of invalid syntax in curl_setup_once.h 2024-04-05 09:24:05 +00:00
curl_setup.h lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
curl_sha256.h
curl_sha512_256.c curl_sha512_256: do not use workaround for NetBSD when not needed 2024-03-30 22:44:22 +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 lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
curl_trc.h curl_trc: fix build error when lacking verbose messages 2024-04-08 13:57:14 +02:00
curlx.h curl: use curl_getenv instead of the curlx_ version 2024-03-30 22:45:47 +01:00
cw-out.c lib: add trace support for client reads and writes 2024-04-05 16:08:10 +02:00
cw-out.h lib: move client writer into own source 2024-02-26 14:25:41 +01:00
dict.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
dict.h
doh.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
doh.h DoH: add trace configuration 2024-02-20 14:01:59 +01:00
dynbuf.c build: delete/replace clang warning pragmas 2024-01-27 21:19:41 +00:00
dynbuf.h
dynhds.c
dynhds.h
easy_lock.h
easy.c lib: use multi instead of multi_easy for the active multi 2024-04-05 16:47:36 -04:00
easygetopt.c curldown: Fix email address in Copyright 2024-02-28 11:28:10 +01:00
easyif.h lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
easyoptions.c curldown: Fix email address in Copyright 2024-02-28 11:28:10 +01:00
easyoptions.h
escape.c
escape.h
file.c file: add support for getting basic directory listings 2024-04-11 12:37:12 +02: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 build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
ftp.h
ftplistparser.c llist: add Curl_llist_append() 2024-04-11 09:00:51 +02:00
ftplistparser.h
functypes.h
getenv.c
getinfo.c urldata: remove fields not used depending on used features 2024-04-05 16:06:22 +02:00
getinfo.h
gopher.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
gopher.h
hash.c llist: add Curl_llist_append() 2024-04-11 09:00:51 +02:00
hash.h
headers.c llist: add Curl_llist_append() 2024-04-11 09:00:51 +02: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 build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
hostip.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
hostsyn.c
hsts.c llist: add Curl_llist_append() 2024-04-11 09:00:51 +02:00
hsts.h
http1.c
http1.h
http2.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
http2.h
http_aws_sigv4.c
http_aws_sigv4.h
http_chunks.c lib: add trace support for client reads and writes 2024-04-05 16:08:10 +02:00
http_chunks.h lib: Curl_read/Curl_write clarifications 2024-02-28 12:58:55 +01:00
http_digest.c
http_digest.h
http_negotiate.c http_negotiate: fix CURL_DISABLE_PROXY build 2024-04-10 14:56:05 +02:00
http_negotiate.h
http_ntlm.c NTLM_WB: drop support 2024-04-08 13:58:58 +02:00
http_ntlm.h
http_proxy.c tls: use shared init code for TCP+QUIC 2024-04-09 09:08:05 +02:00
http_proxy.h
http.c lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
http.h lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
idn.c idn: make Curl_idnconvert_hostname() use Curl_idn_decode() 2024-03-31 11:02:44 +02:00
idn.h idn: make Curl_idnconvert_hostname() use Curl_idn_decode() 2024-03-31 11:02:44 +02:00
if2ip.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
if2ip.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
imap.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
imap.h
inet_ntop.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
inet_ntop.h
inet_pton.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
inet_pton.h
krb5.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
ldap.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
libcurl.rc
libcurl.vers.in
llist.c llist: add Curl_llist_append() 2024-04-11 09:00:51 +02:00
llist.h llist: add Curl_llist_append() 2024-04-11 09:00:51 +02:00
macos.c
macos.h
Makefile.am build: remove MacOSX-Framework script 2024-04-08 22:46:51 +02:00
Makefile.inc NTLM_WB: drop support 2024-04-08 13:58:58 +02:00
Makefile.mk build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
Makefile.soname
md4.c md4: include strdup.h for the memdup proto 2024-02-05 23:38:12 +01:00
md5.c
memdebug.c build: delete/replace clang warning pragmas 2024-01-27 21:19:41 +00:00
memdebug.h
mime.c http: expect 100 rework 2024-03-18 12:41:56 +01:00
mime.h mime: add client reader 2024-03-06 00:17:37 +01:00
mprintf.c mprintf: check fputc error rather than matching returned character 2024-04-15 08:38:14 +02:00
mqtt.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
mqtt.h mqtt, remove remaining use of data->state.buffer 2024-01-27 12:42:19 +01:00
multi.c multi: timeout handles even without connection 2024-04-15 09:49:14 +02:00
multihandle.h llist: add Curl_llist_append() 2024-04-11 09:00:51 +02:00
multiif.h lib: use multi instead of multi_easy for the active multi 2024-04-05 16:47:36 -04: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 build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
noproxy.h
openldap.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
optiontable.pl curldown: Fix email address in Copyright 2024-02-28 11:28:10 +01:00
parsedate.c
parsedate.h
pingpong.c smpt: fix starttls 2024-03-05 13:30:16 +01:00
pingpong.h lib: send rework 2024-02-27 08:58:10 +01:00
pop3.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
pop3.h lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
progress.c
progress.h
psl.c
psl.h
rand.c
rand.h
rename.c
rename.h
request.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
request.h http: separate response parsing from response action 2024-03-21 09:34:40 +01:00
rtsp.c misc: fix typos 2024-04-11 15:44:22 +02:00
rtsp.h lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
select.c
select.h
sendf.c lib: add trace support for client reads and writes 2024-04-05 16:08:10 +02:00
sendf.h http: expect 100 rework 2024-03-18 12:41:56 +01:00
setopt.c lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
setopt.h
setup-os400.h
setup-vms.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
setup-win32.h
sha256.c
share.c
share.h
sigpipe.h
slist.c
slist.h
smb.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
smb.h lib: further send/upload handling polish 2024-03-04 08:42:56 +01:00
smtp.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
smtp.h lib: further send/upload handling polish 2024-03-04 08:42:56 +01:00
sockaddr.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
socketpair.c
socketpair.h
socks_gssapi.c misc: Fix typos in docs and lib 2024-03-01 09:59:48 +01:00
socks_sspi.c
socks.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
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: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
telnet.h
tftp.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
tftp.h
timediff.c
timediff.h
timeval.c
timeval.h
transfer.c CURLINFO_REQUEST_SIZE: fixed, add tests for transfer infos reported 2024-04-12 13:20:09 +02:00
transfer.h lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
url.c lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
url.h lib: keep conn IP information together 2024-03-09 23:24:58 +01:00
urlapi-int.h
urlapi.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
urldata.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
version_win32.c
version_win32.h
version.c lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
warnless.c
warnless.h
ws.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
ws.h lib: client reader polish 2024-03-08 13:11:17 +01:00