Hi
I'm using Typhoeus in a project. I'm using the Response#timed_out? method to check if a connection times out. After a while I noticed that we get "time outs" even when the server is down, and after some digging I realized that the definition of #timed_out? is
[:operation_timedout, :couldnt_connect].include?(return_code)
I'm wondering if this really makes sense. If you ask a response if it's timed out, I would expect it to only say yes if it's actually timed out, not if it couldn't connect at all. Is there a reason for this behaviour?
/Patrik