Eli Zaretskii wrote:
I don't see any threads created by run_with_timeout on my system, when
I download the above URL. In fact, if I set a breakpoint in
run_with_timeout, the only 2 calls to it during the whole download are
from getaddrinfo_with_timeout and from connect_with_timeout, both with
timeout of zero, which calls the function synchronously, both on
Windows and on Posix hosts.
So I guess I don't see what Gisle describes as "separate thread for
HTTPS reads". What am I missing?
It depends on what 'opt.read_timeout' is globally. So
don't use "read-timeout = 0" in your wgetrc.
--
--gv