From: Hugh Sasse Staff Elec Eng Date: 2001-11-17T04:42:11+09:00 Subject: [ruby-talk:25624] Re: Net::HTTP On Sat, 17 Nov 2001, Alan Tsang wrote: > site. Sometimes for some reasons, the downloading never get finished, and > the script is waiting indefinitely for the supposed coming data. Then, I [...] > Is there a way to raise an error if the the connection get stuck and no > data is coming throught the http connection for a configurable length of > time? > > Thanks require "timeout" # timeout.rb is in the standard library, but documentation is lacking. Hugh