lib/httpx/plugins/proxy/socks4.rb in httpx-0.7.0 vs lib/httpx/plugins/proxy/socks4.rb in httpx-0.8.0

- old
+ new

@@ -37,10 +37,10 @@ when :connected return unless @state == :connecting @parser = nil end - log(level: 1, label: "SOCKS4: ") { "#{nextstate}: #{@write_buffer.to_s.inspect}" } unless nextstate == :open + log(level: 1) { "SOCKS4: #{nextstate}: #{@write_buffer.to_s.inspect}" } unless nextstate == :open super end def __socks4_proxy_connect @parser = SocksParser.new(@write_buffer, @options)