Parse dest address before connect to SS server.
This gives us the possibility to chose SS server based on dest address.
This commit is contained in:
@@ -127,7 +127,7 @@ namespace Shadowsocks.Controller.Strategy
|
||||
|
||||
public string Name => I18N.GetString("Choose by statistics");
|
||||
|
||||
public Server GetAServer(IStrategyCallerType type, IPEndPoint localIPEndPoint)
|
||||
public Server GetAServer(IStrategyCallerType type, IPEndPoint localIPEndPoint, EndPoint destEndPoint)
|
||||
{
|
||||
if (_currentServer == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user