V Sun, Dec 06, 2020 at 06:48:13PM +0000, Tom Crane napsal(a):
tmp$ strace -s999 -f -e trace=network wget -S -v --no-check-certificate
--waitretry=1 --tries=1 --timeout=1 --read-timeout=1 --wait=1 -O
/tmp/280200433.tmp https://www.tesco.com/groceries/en-GB/products/280200433
[...]
connect(4, {sa_family=AF_INET, sin_port=htons(443),
sin_addr=inet_addr("104.82.193.249")}, 16) = 0
connected.
HTTP request sent, awaiting response...
but the timeout never happens,
Do not restrict strace to network syscalls. We cannot see where it blocks.
The timeout should occur in select() syscall.
-- Petr