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

Close a WebSocket when it is idle #5696

Open
ikhoon opened this issue May 23, 2024 · 0 comments
Open

Close a WebSocket when it is idle #5696

ikhoon opened this issue May 23, 2024 · 0 comments

Comments

@ikhoon
Copy link
Contributor

ikhoon commented May 23, 2024

Because WebSocket is mostly a long-running request, it is not easy to limit when it will end with a request timeout. It would make more sense to terminate the request when no messages are sent or received for a certain period of time.

The existing idle timeout handler operates at the connection level so a new scheduler that can perform at the WebSocket level is necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant