lib/async/http/body/stream.rb in async-http-0.52.5 vs lib/async/http/body/stream.rb in async-http-0.53.0
- old
+ new
@@ -137,10 +137,10 @@
def close_write
@output&.close
end
# Close the input and output bodies.
- def close
+ def close(error = nil)
self.close_read
self.close_write
ensure
@closed = true
end