Skip to content
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

Add stream timeout #321

Open
rohiievych opened this issue Jul 13, 2022 · 0 comments
Open

Add stream timeout #321

rohiievych opened this issue Jul 13, 2022 · 0 comments

Comments

@rohiievych
Copy link
Member

rohiievych commented Jul 13, 2022

The task

If stream is hanging for 1 minute we have to terminate this stream to prevent memory leaks.

How to implement

Track time between packets sent from client to server or server to client. If it exceeds 1 minute, then terminate the stream with corresponding method.

Create a PR to branch streams

@rohiievych rohiievych changed the title Add timeout Add stream timeout Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants