aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Yue Ko <yko@infoblox.com> 2018-01-14 03:09:14 -0500
committerGravatar Miek Gieben <miek@miek.nl> 2018-01-14 08:09:14 +0000
commit1112145f5aba0c9c07c69966fd3f8b39852ce421 (patch)
tree46077202f22ff33a85fd64641e762d1e13b45018 /test
parente50c425d67e1c41a9673f94f238963a4694137e4 (diff)
downloadcoredns-1112145f5aba0c9c07c69966fd3f8b39852ce421.tar.gz
coredns-1112145f5aba0c9c07c69966fd3f8b39852ce421.tar.zst
coredns-1112145f5aba0c9c07c69966fd3f8b39852ce421.zip
Allow graceful restart when using TLS listener (#1389)
The original ServergRPC.Listen() method returns a tls.Listener when tls protocol is specified. Unfortunate, tls.Listener does not implement the caddy.Listener interface that is needed for graceful restart to work. The change is to have the ServergRPC.Listen() method returns the inner net.Listener instead. The creation of the tls.Listener is deferred to the ServergRPC.Serve() method.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions