From 8da60e45f56f4ef73908c8f704a9e474a9d51a4a Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Thu, 8 Jan 2015 09:42:46 +0000 Subject: [PATCH] Remove refs to IsMsg - we are not going to do this --- README.md | 3 +-- server.go | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) 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