lib/httpx/plugins/proxy/socks4.rb in httpx-0.0.3 vs lib/httpx/plugins/proxy/socks4.rb in httpx-0.0.4

- old
+ new

@@ -51,10 +51,10 @@ proxy_connect when :connected return unless @state == :connecting @parser = nil end - log(1, "SOCKS4: ") { "#{nextstate}: #{@write_buffer.to_s.inspect}" } + log(level: 1, label: "SOCKS4: ") { "#{nextstate}: #{@write_buffer.to_s.inspect}" } super end end Parameters.register("socks4", Socks4ProxyChannel) Parameters.register("socks4a", Socks4ProxyChannel)