-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
100% CPU usage after connection lost while sending large amount of data #401
Comments
Shouldn't this trigger an |
Nothing triggered. If you add a check like:
It only mitigates the tcp has a connection lost event. But when you try it such as blocking the connection by using a firewall realtime rules, the CPU usage is still high until tcp timeout error. As it not sufficient on dealing with sending data, is there any other ways to eliminate this situation? |
Co-authored-by: Eric Rodrigues Pires <eric@eric.dev.br>
100% CPU usage after connection lost while sending large amount of data
The issue is in
russh/russh/src/channels/io/tx.rs
Line 64 in ff95994
It won't triggle connection lost event.
The text was updated successfully, but these errors were encountered: