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: stdio transport not sending newline, add test #1

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

jackyzha0
Copy link
Member

The old stdio transport didn't send a newline on each message so the message reader hung indefinitely lol

Added a test for stdio transport (now renamed to stream transport as it's no longer bound to stdio but rather just a pair of Readable/Writable streams)

@jackyzha0 jackyzha0 merged commit 46b2cdc into main Sep 25, 2023
@jackyzha0
Copy link
Member Author

(somehow it merged itself because i accidentally pushed to main oops)

@jackyzha0 jackyzha0 deleted the fix-stream-transport branch November 16, 2023 23:34
jackyzha0 added a commit that referenced this pull request Aug 20, 2024
## Why

<!-- Describe what you are trying to accomplish with this pull request
-->

- consistent style good

## What changed

- add `@stylistic`

<!-- Describe the changes you made in this pull request or pointers for
the reviewer -->

## Versioning

- [ ] Breaking protocol change
- [ ] Breaking ts/js API change

<!-- Kind reminder to add tests and updated documentation if needed -->
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.

1 participant