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

fix: Send a close stream message when the stream input ends #33

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

lhchavez
Copy link
Contributor

We currently don't send one of these messages when the stream input ends, so the server can't know that the client is done!

This change now correctly sends the end-of-stream message.

@lhchavez lhchavez requested a review from jackyzha0 December 13, 2023 17:03
__tests__/invariants.test.ts Outdated Show resolved Hide resolved
__tests__/invariants.test.ts Outdated Show resolved Hide resolved
router/client.ts Show resolved Hide resolved
@lhchavez lhchavez force-pushed the lh-fix-dont-require-all-messages-to-contain-proc-info branch 2 times, most recently from 0644b6b to 189b26c Compare December 13, 2023 18:47
Base automatically changed from lh-fix-dont-require-all-messages-to-contain-proc-info to main December 13, 2023 19:19
We currently don't send one of these messages when the `stream` input
ends, so the server can't know that the client is done!

This change now correctly sends the end-of-stream message.
@lhchavez lhchavez force-pushed the lh-fix-send-close-message-upon-input-end branch from 3a37f39 to eafd4d1 Compare December 13, 2023 19:33
@lhchavez lhchavez merged commit 9665da7 into main Dec 13, 2023
4 checks passed
@lhchavez lhchavez deleted the lh-fix-send-close-message-upon-input-end branch December 13, 2023 19:35
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.

2 participants