mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
added socks explicit logging tag
This commit is contained in:
parent
60d0b802dd
commit
f432d60052
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user