lib/async/http/protocol/http1/server.rb in async-http-0.51.2 vs lib/async/http/protocol/http1/server.rb in async-http-0.51.3
- old
+ new
@@ -43,10 +43,12 @@
@persistent = false
end
return request
rescue Async::TimeoutError
- fail_request(408)
+ # For an interesting discussion about this behaviour, see https://trac.nginx.org/nginx/ticket/1005
+ # If you enable this, you will see some spec failures...
+ # fail_request(408)
raise
rescue
fail_request(400)
raise
end