lib/httpx/plugins/proxy.rb in httpx-0.11.3 vs lib/httpx/plugins/proxy.rb in httpx-0.12.0
- old
+ new
@@ -240,10 +240,10 @@
end
end
register_plugin :proxy, Proxy
end
- class ProxySSL < SSL
+ class ProxySSL < IO.registry["ssl"]
def initialize(tcp, request_uri, options)
@io = tcp.to_io
super(request_uri, tcp.addresses, options)
@hostname = request_uri.host
@state = :connected