From: Minero Aoki Date: 2001-06-30T16:11:42+09:00 Subject: [ruby-talk:17097] Re: Net::HTTP In mail "[ruby-talk:17096] Net::HTTP" Alan Tsang wrote: > 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? Try below: > filenames=[an array of filenames] > http=Net::HTTP.new(hostname) http.read_timeout = 30 # 30 sec > http.start Minero Aoki