Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

server: Do not echo the close message #21

Merged
merged 1 commit into from
Feb 27, 2024
Merged

server: Do not echo the close message #21

merged 1 commit into from
Feb 27, 2024

Conversation

jsdanielh
Copy link
Member

Change the ws upgrade to not echo the close message since that is actually not permitted by warp. Instead just close the Sink for a proper clean up.

Depends on #20.

server/src/lib.rs Outdated Show resolved Hide resolved
Change the `ws` upgrade to not echo the close message since that is
actually not permitted by `warp`. Instead just close the `Sink` for
a proper clean up.
@jsdanielh jsdanielh force-pushed the jsdanielh/close-sink branch from 06f490b to 27f19e4 Compare February 27, 2024 16:32
@hrxi hrxi merged commit 99e0ab4 into master Feb 27, 2024
7 checks passed
@jsdanielh jsdanielh deleted the jsdanielh/close-sink branch February 27, 2024 17:36
@sisou
Copy link
Member

sisou commented Mar 5, 2024

This fixes the hanging of arpl when closing the REPL 👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants