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

Remove the intermediate buffer in h3-quinn #38

Closed
stammw opened this issue Jan 6, 2021 · 2 comments
Closed

Remove the intermediate buffer in h3-quinn #38

stammw opened this issue Jan 6, 2021 · 2 comments

Comments

@stammw
Copy link
Contributor

stammw commented Jan 6, 2021

Once quinn-rs/quinn#952, quinn-rs/quinn#929, lands in a new release, we'll be able to remove the need to copy into an intermediate buffer in h3-quinn::RecvStream::poll_data() by using quinn::RecvStream::read_chunk().

Also, we'll maybe want to read multiple chunks at once into a slice of Bytes with quinn::RecvStream::read_chunks(&mut self, bufs: &mut [Bytes]).

@stammw
Copy link
Contributor Author

stammw commented Jan 27, 2021

quinn-rs/quinn#856

@seanmonstar
Copy link
Member

Closed in #46

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

No branches or pull requests

2 participants