lib/async/http/protocol/http2/stream.rb in async-http-0.45.7 vs lib/async/http/protocol/http2/stream.rb in async-http-0.45.8
- old
+ new
@@ -63,10 +63,10 @@
remainder = @remainder
@remainder = nil
return remainder
else
- @body.read
+ @body&.read
end
end
def push(chunk)
@remainder = chunk