Skip to content

Commit 8e53819

Browse files
committed
Log info when using a proxy
1 parent efbd052 commit 8e53819

File tree

1 file changed

+5
-0
lines changed
  • pyrogram/connection/transport/tcp

1 file changed

+5
-0
lines changed

pyrogram/connection/transport/tcp/tcp.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ def __init__(self, proxy: Proxy):
4444
password=proxy.password
4545
)
4646

47+
log.info("Using proxy {}:{}".format(
48+
proxy.hostname,
49+
proxy.port
50+
))
51+
4752
def close(self):
4853
try:
4954
self.shutdown(socket.SHUT_RDWR)

0 commit comments

Comments
 (0)