We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91148f1 commit a6db236Copy full SHA for a6db236
lib/async/http/protocol/http2/stream.rb
@@ -62,9 +62,9 @@ def process_headers(frame)
62
end
63
64
# TODO this might need to be in an ensure block:
65
- if @input and frame.end_stream?
66
- @input.close_write
+ if input = @input and frame.end_stream?
67
@input = nil
+ input.close_write
68
69
rescue ::Protocol::HTTP2::HeaderError => error
70
Console.logger.debug(self, error)
0 commit comments