-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TARSCPP服务怎样主动断开客户端 #873
Comments
拿到current, 用current->close() 去关闭连接 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TARS服务会在与客户端停止数据交互后超时自动断开。不过在某些情况下(例如发现被恶意攻击)最好主动断开与客户端的连接。这个在编写的服务里怎样实现呢?
The text was updated successfully, but these errors were encountered: