lib/async/http/protocol/http1/server.rb in async-http-0.59.0 vs lib/async/http/protocol/http1/server.rb in async-http-0.59.1
- old
+ new
@@ -108,9 +108,10 @@
request&.finish
# This ensures we yield at least once every iteration of the loop and allow other fibers to execute.
task.yield
rescue => error
+ raise
ensure
body&.close(error)
end
end
end