Ruby/programming noob here. I’ve just finished my first real app, but
performance is occassionally plagued by the following error message:
rbuf_fill': execution expired (Timeout::Error) from c:/ruby/lib/ruby/1.8/timeout.rb:56:intimeout’
timeout' from c:/ruby/lib/ruby/1.8/net/protocol.rb:132:inrbuf_fill’
readuntil' from c:/ruby/lib/ruby/1.8/net/protocol.rb:126:inreadline’
read_status_line' from c:/ruby/lib/ruby/1.8/net/http.rb:2006:inread_new’
from c:/ruby/lib/ruby/1.8/net/http.rb:1047:in `request’
I did find one proposed solution here (modifying the rbuf_fill method):
http://www.ruby-forum.com/topic/105212 , but it doesn’t seem to work for
me. These posts also explains why standard error handling won’t work.
Does anyone have another solution?
Thanks a bunch!