coredns/core
Andrey Meshkov aebbc4883d Add server instance to the context in ServerTLS and ServerHTTPS (#2840)
* Add server instance to the context in ServerTLS and ServerHTTPS

The problem with the current code is that there's no way to get the server instance inside a plugin.
Because of that "metrics" plugin sets empty "server" label for requests served over TLS or HTTPS.

* use s.Server instead of s

* Added server to the context of grpc requests
2019-05-27 15:52:47 +01:00
..
dnsserver Add server instance to the context in ServerTLS and ServerHTTPS (#2840) 2019-05-27 15:52:47 +01:00
plugin Add any plugin (#2801) 2019-04-28 11:46:45 +01:00
coredns.go core: don't always include all plugins (#1135) 2017-10-08 04:27:57 -07:00