lib/async/http/protocol/https.rb in async-http-0.56.1 vs lib/async/http/protocol/https.rb in async-http-0.56.2
- old
+ new
@@ -57,10 +57,10 @@
def self.protocol_for(peer)
# alpn_protocol is only available if openssl v1.0.2+
name = peer.alpn_protocol
- Async.logger.debug(self) {"Negotiating protocol #{name.inspect}..."}
+ Console.logger.debug(self) {"Negotiating protocol #{name.inspect}..."}
if protocol = HANDLERS[name]
return protocol
else
raise ArgumentError, "Could not determine protocol for connection (#{name.inspect})."