When using --timeout with wget, I was expecting that if the transaction hasn't completed within the timeout period, then it would abort.
However, it seems to mean (with respect to read-timeout) that no data should have transferred in 30 seconds for the timeout to trigger (or dns or connecting takes longer than 30 seconds).
Is there a one-liner way to abort a wget if it takes too long?
update: This is on a Centos 5.6 box running coreutils 5.97