Skip to content

Provide a way to force the queue writev strategy #2282

Description

@seanmonstar

There is http1_writev(bool) currently to allow someone to force alwaysing using the "flatten" strategy of writing. However, when calling http1_writev(true), that just keeps the default, which is "auto". There should be a way for users to specify "always use the queue strategy, don't use auto".

The most logical way would be to keep "auto" as the default, calling http1_writev(false) would force "flatten", and calling http1_writev(true) would force "queue". This can be done by changing the builders to hold http1_writev: Option<bool> internally.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-clientArea: client.A-http1Area: HTTP/1 specific.A-serverArea: server.E-easyEffort: easy. A task that would be a great starting point for a new contributor.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions