mirror of
https://github.com/FastTunnel/FastTunnel.git
synced 2025-02-08 02:39:29 +08:00
过滤离线的客户端
This commit is contained in:
parent
989a2081d2
commit
95b91548ef
|
@ -110,6 +110,13 @@ namespace FastTunnel.Core.Server
|
|||
return;
|
||||
}
|
||||
|
||||
if (!web.Socket.Connected)
|
||||
{
|
||||
_logger.Error($"客户端已下线:'{domain}'");
|
||||
WebList.Remove(domain);
|
||||
return;
|
||||
}
|
||||
|
||||
var msgid = Guid.NewGuid().ToString();
|
||||
|
||||
byte[] bytes = new byte[count];
|
||||
|
|
Loading…
Reference in New Issue
Block a user