mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 09:55:21 +00:00
DNS over socks proxy
This commit is contained in:
parent
ee925c687d
commit
e73533d487
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ class BaseBot:
|
||||||
connector = SocksConnector(socks_ver=socks_ver, host=host, port=port,
|
connector = SocksConnector(socks_ver=socks_ver, host=host, port=port,
|
||||||
username=username, password=password,
|
username=username, password=password,
|
||||||
limit=connections_limit, ssl_context=ssl_context,
|
limit=connections_limit, ssl_context=ssl_context,
|
||||||
loop=self.loop)
|
rdns=True, loop=self.loop)
|
||||||
|
|
||||||
self.proxy = None
|
self.proxy = None
|
||||||
self.proxy_auth = None
|
self.proxy_auth = None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue