Remove refs to IsMsg - we are not going to do this
This commit is contained in:
parent
3f504e8dab
commit
8da60e45f5
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue