mirror of
https://github.com/coredns/coredns.git
synced 2026-07-24 00:20:15 -04:00
Add max conn limit to https3 (#8187)
* Add max conn limit to https3 This PR adds max conn limit to https3, similiar to https Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add Test to cover change Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Address review feedback Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Update README and setup Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Update plugin/https3/README.md Co-authored-by: Ville Vesilehto <ville@vesilehto.fi> Signed-off-by: Yong Tang <yong.tang.github@outlook.com> --------- Signed-off-by: Yong Tang <yong.tang.github@outlook.com> Co-authored-by: Ville Vesilehto <ville@vesilehto.fi>
This commit is contained in:
@@ -118,6 +118,10 @@ type Config struct {
|
||||
// This is nil if not specified, allowing for a default to be used.
|
||||
MaxHTTPS3Streams *int
|
||||
|
||||
// MaxHTTPS3Connections defines the maximum number of concurrent HTTPS3 connections.
|
||||
// This is nil if not specified, allowing for a default to be used.
|
||||
MaxHTTPS3Connections *int
|
||||
|
||||
// Timeouts for connection-oriented servers. Exact applicability depends on transport.
|
||||
ReadTimeout time.Duration
|
||||
WriteTimeout time.Duration
|
||||
|
||||
Reference in New Issue
Block a user