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

KTOR-3504 KTOR-2430 Fix WS timeout #3200

Merged
merged 1 commit into from Oct 14, 2022
Merged

KTOR-3504 KTOR-2430 Fix WS timeout #3200

merged 1 commit into from Oct 14, 2022

Conversation

rsinukov
Copy link
Contributor

Timeout should send close frame and not wait for close acknowledge from the other side. Instead, directly close channels and provide close reason.

https://youtrack.jetbrains.com/issue/KTOR-2430
https://youtrack.jetbrains.com/issue/KTOR-3504

@rsinukov rsinukov requested a review from e5l October 13, 2022 17:21
@rsinukov rsinukov self-assigned this Oct 13, 2022
Copy link
Member

@e5l e5l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, good catch

@e5l
Copy link
Member

e5l commented Oct 14, 2022

could you tell me if it's possible to add unit test?

@rsinukov rsinukov merged commit 3b7b62d into main Oct 14, 2022
@rsinukov rsinukov deleted the rsinukov/ws-timeout branch October 14, 2022 11:55
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

2 participants