mirror of
https://github.com/snltty/linker.git
synced 2025-10-23 17:13:12 +08:00
更改配色
This commit is contained in:
@@ -256,7 +256,8 @@ namespace linker.tunnel
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
ITunnelTransport _transports = transports.FirstOrDefault(c => c.Name == tunnelTransportInfo.TransportName && c.ProtocolType == tunnelTransportInfo.TransportType);
|
ITunnelTransport _transports = transports.FirstOrDefault(c => c.Name == tunnelTransportInfo.TransportName && c.ProtocolType == tunnelTransportInfo.TransportType);
|
||||||
if (_transports != null)
|
TunnelTransportItemInfo item = tunnelAdapter.GetTunnelTransports().FirstOrDefault(c => c.Name == tunnelTransportInfo.TransportName && c.Disabled == false);
|
||||||
|
if (_transports != null && item != null)
|
||||||
{
|
{
|
||||||
OnConnectBegin(tunnelTransportInfo);
|
OnConnectBegin(tunnelTransportInfo);
|
||||||
ParseRemoteEndPoint(tunnelTransportInfo);
|
ParseRemoteEndPoint(tunnelTransportInfo);
|
||||||
@@ -268,6 +269,7 @@ namespace linker.tunnel
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
connectingDic.TryRemove(tunnelTransportInfo.Remote.MachineId, out _);
|
connectingDic.TryRemove(tunnelTransportInfo.Remote.MachineId, out _);
|
||||||
|
_ = tunnelAdapter.SendConnectFail(tunnelTransportInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@@ -278,6 +280,8 @@ namespace linker.tunnel
|
|||||||
LoggerHelper.Instance.Error(ex);
|
LoggerHelper.Instance.Error(ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 收到对方发来的连接失败的消息
|
/// 收到对方发来的连接失败的消息
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
v1.5.1
|
v1.5.1
|
||||||
2024-10-29 19:03:59
|
2024-10-29 21:26:17
|
||||||
1. 优化点对网和网对网的局域网IP,包括禁用IP,和冲突检测
|
1. 优化点对网和网对网的局域网IP,包括禁用IP,和冲突检测
|
||||||
2. 一些UI优化
|
2. 一些UI优化
|
||||||
3. 新增socks5代理
|
3. 新增socks5代理
|
||||||
|
Reference in New Issue
Block a user