lib/async/http/protocol/http1/connection.rb in async-http-0.48.2 vs lib/async/http/protocol/http1/connection.rb in async-http-0.49.0

- old
+ new

@@ -68,11 +68,10 @@ def connected? @stream&.connected? end def reusable? - @stream && !@stream.closed? - # !(self.closed? || @stream.closed?) + @persistent && @stream && !@stream.closed? end def close Async.logger.debug(self) {"Closing connection"} super