You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered:
…sage
Previously, calling `http1_writev(true)` would just keep the default behavior, which was to auto detect if writev was optimal. Now, the auto-detection is still default, but explicitly calling `http1_writev(true)` will skip the auto-detection, and always use writev queue strategy.
Closes#2282
…sage
Previously, calling `http1_writev(true)` would just keep the default behavior, which was to auto detect if writev was optimal. Now, the auto-detection is still default, but explicitly calling `http1_writev(true)` will skip the auto-detection, and always use writev queue strategy.
Closeshyperium#2282
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.
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.The text was updated successfully, but these errors were encountered: