mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Log info when using a proxy
This commit is contained in:
parent
efbd052ec3
commit
8e538199ea
1 changed files with 5 additions and 0 deletions
|
|
@ -44,6 +44,11 @@ class TCP(socks.socksocket):
|
||||||
password=proxy.password
|
password=proxy.password
|
||||||
)
|
)
|
||||||
|
|
||||||
|
log.info("Using proxy {}:{}".format(
|
||||||
|
proxy.hostname,
|
||||||
|
proxy.port
|
||||||
|
))
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
try:
|
try:
|
||||||
self.shutdown(socket.SHUT_RDWR)
|
self.shutdown(socket.SHUT_RDWR)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue