-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add http1_writev config for Server #1527
Copy link
Copy link
Closed
Labels
A-serverArea: server.Area: server.C-performanceCategory: performance. This is making existing behavior go faster.Category: performance. This is making existing behavior go faster.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-serverArea: server.Area: server.C-performanceCategory: performance. This is making existing behavior go faster.Category: performance. This is making existing behavior go faster.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.