-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
这个状态检查会导致本该释放的socket连接不能释放,不能通知上层代码连接已经断开,从而导致上层(Hik.Communication.Sc…
…sServices.Service.ScsServiceApplication的_serviceClients)一直缓存着已经断开连接的客户端,最后耗光内存。 此问题是我在配合consul做服务发现时发现的,consul的tcp健康检查会不断的连接断开,在ReceiveCallback函数报异常去执行Disconnect函数,但是Disconnect函数因为条件判断为true直接return了
- Loading branch information
1 parent
b3959f4
commit 8bf6fa8
Showing
2 changed files
with
0 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters