-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Provide a way to force the queue writev strategy #2282
Copy link
Copy link
Closed
differs/Legends
#5Labels
A-clientArea: client.Area: client.A-http1Area: HTTP/1 specific.Area: HTTP/1 specific.A-serverArea: server.Area: server.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.
Metadata
Metadata
Assignees
Labels
A-clientArea: client.Area: client.A-http1Area: HTTP/1 specific.Area: HTTP/1 specific.A-serverArea: server.Area: server.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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
There is
http1_writev(bool)currently to allow someone to force alwaysing using the "flatten" strategy of writing. However, when callinghttp1_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 callinghttp1_writev(true)would force "queue". This can be done by changing the builders to holdhttp1_writev: Option<bool>internally.