mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-04 21:57:44 +03:00
New miekg/dns to fix a resource leak (not affecting us)
This commit is contained in:
parent
1ae2281588
commit
09866acdb5
30 changed files with 7929 additions and 41 deletions
1
vendor/github.com/miekg/dns/server.go
generated
vendored
1
vendor/github.com/miekg/dns/server.go
generated
vendored
|
@ -321,6 +321,7 @@ func (srv *Server) ListenAndServe() error {
|
|||
}
|
||||
u := l.(*net.UDPConn)
|
||||
if e := setUDPSocketOptions(u); e != nil {
|
||||
u.Close()
|
||||
return e
|
||||
}
|
||||
srv.PacketConn = l
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue