diff --git a/README.md b/README.md index 3cb850a0..8b4261bf 100644 --- a/README.md +++ b/README.md @@ -132,9 +132,8 @@ Example programs can be found in the `github.com/miekg/exdns` repository. ## TODO * privatekey.Precompute() when signing? -* Last remaining RRs: APL, ATMA, A6 and NXT; +* Last remaining RRs: APL, ATMA, A6 and NXT and IPSECKEY; * Missing in parsing: ISDN, UNSPEC, ATMA; * CAA parsing is broken; * NSEC(3) cover/match/closest enclose; * Replies with TC bit are not parsed to the end; -* Create IsMsg to validate a message before fully parsing it. diff --git a/server.go b/server.go index c250ccc2..c9ce7026 100644 --- a/server.go +++ b/server.go @@ -447,7 +447,6 @@ func (srv *Server) serve(a net.Addr, h Handler, m []byte, u *net.UDPConn, s *ses } }() Redo: - // Ideally we want use isMsg here before we allocate memory to actually parse the packet. req := new(Msg) err := req.Unpack(m) if err != nil { // Send a FormatError back