about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/rainbows/error.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/error.rb b/lib/rainbows/error.rb
index 8917c4d..736d5d8 100644
--- a/lib/rainbows/error.rb
+++ b/lib/rainbows/error.rb
@@ -25,7 +25,7 @@ module Rainbows::Error
   def self.response(e)
     case e
     when EOFError, Errno::ECONNRESET, Errno::EPIPE, Errno::EINVAL,
-         Errno::EBADF, Errno::ENOTCONN
+         Errno::EBADF, Errno::ENOTCONN, Errno::ETIMEDOUT, Errno::EHOSTUNREACH
       # swallow error if client shuts down one end or disconnects
     when Unicorn::HttpParserError
       Rainbows::Const::ERROR_400_RESPONSE # try to tell the client they're bad