Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Avoid timeouts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Avoid timeouts
Authored by: kal on Feb 12, '03 05:52:36AM

For those that use this in .profile/.login or whatever.. You might want to use the -m option for curl (max time in seconds for the operation). This way you won´hang "forever" if the connecion is down ...

curl -s -m 5 .......



[ Reply to This | # ]