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

- old
+ new

@@ -84,10 +84,10 @@ @write_buffer << Packet.connect(request_uri) when :connected return unless @state == :negotiating @parser = nil end - log(1, "SOCKS5: ") { "#{nextstate}: #{@write_buffer.to_s.inspect}" } + log(level: 1, label: "SOCKS5: ") { "#{nextstate}: #{@write_buffer.to_s.inspect}" } super end def check_version(version) raise Error, "invalid SOCKS version (#{version})" if version != 5