Skip to content

Remove the intermediate buffer in h3-quinnΒ #38

Closed
@stammw

Description

@stammw

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]).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions