From: thefed Date: 2008-01-03T06:55:30+09:00 Subject: Re: Net::HTTP Timeout On Jan 1, 2008, at 10:34 PM, Bryan Duxbury wrote: > This is a terrible idea. Starting in another thread causes > rbuf_fill to return immediately instead of waiting to fill the > buffer. The use of timeout causes it to wait a while trying, and > then abort if it fails. Using a thread without a timeout will > completely monkey with things. > > Is there some reason as to why you want to do this? What are you > trying to accomplish? > When I'm using ruby to download large files, everynow and then the server doesn't respond for over 60 seconds, and my program crashes with a timeout error.