Re: wget timeout option useless
Jamie Zawinski [EMAIL PROTECTED] writes: Please also set an exit alarm around your calls to connect() based on the -T option. This is requested frequently. I'll include it in the next release. The reason why it's not already there is simply that I was lucky never to be bitten by that problem. For some reason, the systems I've worked on have always either connected or timed out in reasonable time.
wget timeout option useless
The -T option seems to apply only to read() -- not to connect(). That's pretty worthless. If I specify -t1 -t5, and the host is not responding (in connect()) then wget takes a full *15 minutes* to time out. This makes it somewhat less than useful when you're trying to do smart things in shell scripts. Please also set an exit alarm around your calls to connect() based on the -T option. -- Jamie Zawinski [EMAIL PROTECTED] http://www.jwz.org/ [EMAIL PROTECTED] http://www.dnalounge.com/