lib/rack/handler/ftw.rb in ftw-0.0.23 vs lib/rack/handler/ftw.rb in ftw-0.0.24

- old
+ new

@@ -121,10 +121,10 @@ # @param connection The FTW::Connection being handled. def handle_connection(connection) while true begin request = read_http_message(connection) - rescue EOFError, Errno::EPIPE, Errno::ECONNRESET, HTTP::Parser::Error + rescue IOError, EOFError, Errno::EPIPE, Errno::ECONNRESET, HTTP::Parser::Error # Connection EOF'd or errored before we finished reading a full HTTP # message, shut it down. break end