What's Changed
Make # of connections accepted per event loop cycle configurable, and raise the default by @gwynne in #3186
As per @weissi’s suggestion in this forums post, we raise the default maximum number of connections accepted per cycle of the server’s event loop from 4 to 256, and the value is now user-configurable.
There are no new tests for this because I’m not sure if there’s a way to measure the effect of changing this value that doesn’t involve nondeterministic timing measurements.
Also takes the opportunity/excuse to add the missing
customCertificateVerifyCallback
parameter to the initializers ofHTTPServer.Configuration
.
Reviewers
Thanks to the reviewers for their help:
This patch was released by @gwynne
Full Changelog: 4.95.0...4.96.0