Read additional KestrelServerOptions from config
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
The new configuration APIs will read endpoints with their certificates and the default certificate. https://github.com/aspnet/KestrelHttpServer/pull/2186
Here are other KestrelServerOptions to consider reading from config (Unsorted):
- bool AddServerHeader
- SchedulingMode ApplicationSchedulingMode
- KestrelServerLimits Limits
- long? MaxResponseBufferSize
- long? MaxRequestBufferSize
- int MaxRequestLineSize
- int MaxRequestHeadersTotalSize
- int MaxRequestHeaderCount
- long? MaxRequestBodySize
- TimeSpan KeepAliveTimeout
- TimeSpan RequestHeadersTimeout
- long? MaxConcurrentConnections
- long? MaxConcurrentUpgradedConnections
- MinDataRate MinRequestBodyDataRate
- MinDataRate MinResponseDataRate
- Per Endpoint ListenOptions
- bool NoDelay
- ~~HttpProtocols Protocols~~ https://github.com/aspnet/AspNetCore/commit/f38f60f8cefe45bd4078b25773becc105b8c7bbc
- Per Https Endpoint HttpsConnectionAdapterOptions
- ClientCertificateMode ClientCertificateMode
- SslProtocols SslProtocols
- bool CheckCertificateRevocation
- TimeSpan HandshakeTimeout
Today these must all be set in code in parallel to the configuration.
Contributor guide
Assessment
This issue has not been assessed yet.