lib/protocol/http/body/readable.rb in protocol-http-0.31.0 vs lib/protocol/http/body/readable.rb in protocol-http-0.32.0
- old
+ new
@@ -61,11 +61,9 @@
# Flush the stream unless we are immediately expecting more data:
unless self.ready?
stream.flush
end
end
- ensure
- stream.close
end
# Read all remaining chunks into a buffered body and close the underlying input.
# @returns [Buffered] The buffered body.
def finish