Skip to content

Add http1_writev config for Server #1527

Closed
@seanmonstar

Description

@seanmonstar

There is an http1_writev config option in the client to disable writev usage internally. While the default is to use auto-detection of writev, the detection must happen on every connection, and for shorter lived connections, it'd be better to configure it off from the start.

This issue is just to add a same kind of config for the server side, by adding hyper::server::conn::Http::http1_writev(enabled: bool). This can trivially be backported for 0.11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-serverArea: server.C-performanceCategory: performance. This is making existing behavior go faster.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