diff options
author | 2017-02-19 20:34:09 +0000 | |
---|---|---|
committer | 2017-02-19 20:34:09 +0000 | |
commit | bcd9c8b0fb83c4da4d84a2bafb1d1f8275b49b49 (patch) | |
tree | 2ea305a7ca9fb76779b0e4d6837af54784057c3b /directives_generate.go | |
parent | 5aa30308d9567e77b1176d64f6383c6525347699 (diff) | |
download | coredns-bcd9c8b0fb83c4da4d84a2bafb1d1f8275b49b49.tar.gz coredns-bcd9c8b0fb83c4da4d84a2bafb1d1f8275b49b49.tar.zst coredns-bcd9c8b0fb83c4da4d84a2bafb1d1f8275b49b49.zip |
server: fix data race (#536)
* server: fix data race
This fixes the detected race.
Fixes #534
* Remove the listener and packetconn from Server
There does not seem a need to store the listener and packetconn again
in the Server structure. The dns.Servers already has access to them
and can also shutdown the handlers.
Diffstat (limited to 'directives_generate.go')
0 files changed, 0 insertions, 0 deletions