lib/async/http/protocol/http1/connection.rb in async-http-0.49.1 vs lib/async/http/protocol/http1/connection.rb in async-http-0.50.0
- old
+ new
@@ -60,15 +60,15 @@
@stream.io
end
attr :count
- def multiplex
+ def concurrency
1
end
# Can we use this connection to make requests?
- def connected?
+ def viable?
@stream&.connected?
end
def reusable?
@persistent && @stream && !@stream.closed?