mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-06 00:02:08 -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
|
return unless @state == :connecting
|
||||||
@parser = nil
|
@parser = nil
|
||||||
end
|
end
|
||||||
log { "#{nextstate.to_s}: #{@write_buffer.to_s.inspect}" }
|
log(1, "SOCKS4: ") { "#{nextstate.to_s}: #{@write_buffer.to_s.inspect}" }
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -79,7 +79,7 @@ module HTTPX
|
|||||||
return unless @state == :negotiating
|
return unless @state == :negotiating
|
||||||
@parser = nil
|
@parser = nil
|
||||||
end
|
end
|
||||||
log { "#{nextstate.to_s}: #{@write_buffer.to_s.inspect}" }
|
log(1, "SOCKS5: ") { "#{nextstate.to_s}: #{@write_buffer.to_s.inspect}" }
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user