mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
dnsserver.Server: Export timeout values (#7497)
Plugins need access to timeout values that are actually used by TCP dns.Server Signed-off-by: Ilya Kulakov <kulakov.ilya@gmail.com>
This commit is contained in:
@@ -84,7 +84,7 @@ func NewServerQUIC(addr string, group []*Config) (*ServerQUIC, error) {
|
||||
}
|
||||
|
||||
var quicConfig = &quic.Config{
|
||||
MaxIdleTimeout: s.idleTimeout,
|
||||
MaxIdleTimeout: s.IdleTimeout,
|
||||
MaxIncomingStreams: int64(maxStreams),
|
||||
MaxIncomingUniStreams: int64(maxStreams),
|
||||
// Enable 0-RTT by default for all connections on the server-side.
|
||||
|
||||
Reference in New Issue
Block a user