diff --git a/pyrogram/connection/transport/tcp/tcp.py b/pyrogram/connection/transport/tcp/tcp.py index a762a39e..a6195586 100644 --- a/pyrogram/connection/transport/tcp/tcp.py +++ b/pyrogram/connection/transport/tcp/tcp.py @@ -44,6 +44,11 @@ class TCP(socks.socksocket): password=proxy.password ) + log.info("Using proxy {}:{}".format( + proxy.hostname, + proxy.port + )) + def close(self): try: self.shutdown(socket.SHUT_RDWR)