github vapor/vapor 4.48.5
Default HTTPServer.Configuration.supportPipelining to true

latest releases: 4.97.0, 4.96.0, 4.95.0...
2 years ago
This patch was authored by @adam-fowler and released by @0xTim.

This changes the default for HTTPServer.Configuration.supportPipelining from false to true. This ensures the order HTTP responses are output from a channel is the same as the order the related requests were received. This is expected of a server that is HTTP/1.1 compliant.

This change does have a performance impact , approx 8% on a server returning "Hello" and nothing else. I would expect on a server that is doing real work like talking to a database the impact would be minimal.

To disable pipelining you can do

app.http.server.configuration.supportPipelining = false

Don't miss a new vapor release

NewReleases is sending notifications on new releases.