added socks explicit logging tag

This commit is contained in:
HoneyryderChuck 2018-01-14 20:39:00 +00:00
parent 60d0b802dd
commit f432d60052
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ module HTTPX
return unless @state == :connecting
@parser = nil
end
log { "#{nextstate.to_s}: #{@write_buffer.to_s.inspect}" }
log(1, "SOCKS4: ") { "#{nextstate.to_s}: #{@write_buffer.to_s.inspect}" }
super
end
end

View File

@ -79,7 +79,7 @@ module HTTPX
return unless @state == :negotiating
@parser = nil
end
log { "#{nextstate.to_s}: #{@write_buffer.to_s.inspect}" }
log(1, "SOCKS5: ") { "#{nextstate.to_s}: #{@write_buffer.to_s.inspect}" }
super
end