lib/async/http/protocol/http2.rb in async-http-0.27.3 vs lib/async/http/protocol/http2.rb in async-http-0.27.4

- old
+ new

@@ -233,10 +233,10 @@ end stream.data("", end_stream: true) end else - stream.close(:internal_error) unless stream.state == :closed + stream.headers({':status' => '500'}, end_stream: true) end rescue Async.logger.error(request) {$!} end