lib/async/http/protocol/http2/stream.rb in async-http-0.37.2 vs lib/async/http/protocol/http2/stream.rb in async-http-0.37.3

- old
+ new

@@ -39,10 +39,12 @@ attr_accessor :delegate attr :body def send_body(body, task: Async::Task.current) # TODO Might need to stop this task when body is cancelled. - @task = task.async do + @task = task.async do |subtask| + subtask.annotate "Sending body: #{body.class}" + @body = body window_updated end end