Skip to content

Move away from BufferQueue as basic element for everything #541

Closed

Description

@Geal

the BufferQueue implementation is very specific to the HTTP 1 proxy, awkward to use in the Pipe protocol, and probably unusable for HTTP/2.

I propose the following steps:

  • use a pool of Buffer instead of BufferQueue, and use that pool to initialize a BufferQueue
  • use Buffer directly in protocols like Pipe
  • move BufferQueue specific details out of the HTTP 1 parser
  • use the Buffer pool in the HTTP/2 parser

side note: should we move to the bytes crate instead?

Activity

  1. added this to the milestone on Oct 19, 2018
  2. modified the milestones: , 0.14 on Jul 29, 2021
  3. self-assigned this
    on Jul 30, 2021
  4. modified the milestones: v0.14.0, next on Feb 18, 2022
  5. Keksoj commented on Nov 15, 2023

    @Keksoj

    We got entirely rid of BufferQueues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions