Set the socket timeout to one minute to avoid hangs
commit6b9a4a67e9488d347ab776332364494b19faeddc
authorThomas Perl <thp@perli.net>
Tue, 20 Jan 2009 21:50:44 +0000 (20 22:50 +0100)
committerThomas Perl <thp@perli.net>
Tue, 20 Jan 2009 21:50:44 +0000 (20 22:50 +0100)
tree01de3d8268d089938acdbf063286284381289f84
parente595347f9832e37bae8eef265de8dd800e80b1c9
Set the socket timeout to one minute to avoid hangs

Theoretically, when a server is slow responding, this
could cause urlwatch to hang. We now set the timeout
for requests to 60 seconds (might increase this in the
future) to avoid hanging for broken/busy servers.
urlwatch