lib/async/http/protocol/http2/stream.rb in async-http-0.43.1 vs lib/async/http/protocol/http2/stream.rb in async-http-0.44.0

- old
+ new

@@ -41,13 +41,13 @@ def create_promise_stream(headers, stream_id) @delegate.create_promise_stream(headers, stream_id) end - def close!(state = :closed) + def close(state = :closed) super - @delegate.close!(state) + @delegate.close end def send_body(body, task: Async::Task.current) # TODO Might need to stop this task when body is cancelled. @task = task.async do |subtask|