3 ms·
For curl: --connect-timeout = Times out if the connection wasn't established within N seconds --max-time = Times out if the entire request wasn't completed wi
by diggan 1y ago
For curl:
--connect-timeout = Times out if the connection wasn't established within N seconds
--max-time = Times out if the entire request wasn't completed within N seconds
But then I don't remember if connect-timeout takes DNS lookups into account, or TLS handshakes. I seem to remember there is another sort of timeout that tends to be hard to get right when the connections are flaky/drops a lot of packets, so you end up having to wrap curl anyways if you want a hard limit on the timeout.
- SoftTalker 1y agoI've had many, many cases of processes in Linux getting wedged up bad enough that they cannot be killed. Usually this seems to involve them waiting on I/O.
- chgs 1y agoKill -9 won’t help in those cases though