fix a ipv6 bug in mysql mode
This commit is contained in:
parent
3930cfc726
commit
0504fb43cf
2 changed files with 5 additions and 2 deletions
|
@ -52,6 +52,9 @@ class ServerPool(object):
|
|||
self.config = shell.get_config(False)
|
||||
shell.print_shadowsocks()
|
||||
self.dns_resolver = asyncdns.DNSResolver()
|
||||
if not self.config.get('dns_ipv6', False):
|
||||
asyncdns.IPV6_CONNECTION_SUPPORT = False
|
||||
|
||||
self.mgr = asyncmgr.ServerMgr()
|
||||
|
||||
self.tcp_servers_pool = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue