From: thefed Date: 2008-01-02T03:49:34+09:00 Subject: Net::HTTP Timeout Yes, I have read the previous thread (http://www.ruby-forum.com/topic/ 105212), but I have one small question: Would it be so terribly bad to change it from: >> def rbuf_fill >> timeout(@read_timeout) { >> @rbuf << @io.sysread(1024) >> } >> end to: >> def rbuf_fill >> Thread.new { >> @rbuf << @io.sysread(1024) >> } >> end ? Would the uncapturable thread cause me a problem? Timeout runs it in another thread anyways, so this is just removing the timeout aspect. -------------------------------------------------------| ~ Ari seydar: it's like a crazy love triangle of Kernel commands and C code