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

websocket: Add warning if client connection isn't closed cleanly #3264

Merged
merged 1 commit into from
May 8, 2023

Conversation

bdarnell
Copy link
Member

@bdarnell bdarnell commented May 7, 2023

This gives a warning that is not dependent on GC for the issue in #3257.

@bdarnell bdarnell force-pushed the websocket-client-warning branch 3 times, most recently from 413281e to ad4ad5e Compare May 8, 2023 01:10
This gives a warning that is not dependent on GC for the issue
in tornadoweb#3257. This new warning covers all websocket client connections,
while the previous GC-dependent warning only affected those with
ping_interval set. This unfortunately introduces an effective
requirement to close all websocket clients explicitly for those
who are strict about warnings.
@bdarnell bdarnell merged commit aca0a2f into tornadoweb:master May 8, 2023
11 checks passed
@bdarnell bdarnell deleted the websocket-client-warning branch May 8, 2023 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant