mirror of
https://github.com/FastTunnel/FastTunnel.git
synced 2025-02-08 02:39:29 +08:00
fix: 修复json反序列化失败后没有重新Dispatch导致服务器无法继续处理客户端发送的消息
This commit is contained in:
parent
d227b5b7b2
commit
bc0071095c
|
@ -49,7 +49,7 @@ namespace FastTunnel.Core.Handlers.Server
|
|||
{
|
||||
client.Shutdown(SocketShutdown.Both);
|
||||
}
|
||||
catch
|
||||
finally
|
||||
{
|
||||
client.Close();
|
||||
}
|
||||
|
@ -114,6 +114,7 @@ namespace FastTunnel.Core.Handlers.Server
|
|||
|
||||
// throw;
|
||||
client.Send(new Message<LogMassage>() { MessageType = MessageType.Log, Content = new LogMassage(LogMsgType.Error, ex.Message) });
|
||||
Dispatch(client);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user