mirror of
https://github.com/miekg/dns.git
synced 2025-10-10 09:21:01 +02:00
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
|
## TODO
|
||||||
|
|
||||||
* privatekey.Precompute() when signing?
|
* 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;
|
* Missing in parsing: ISDN, UNSPEC, ATMA;
|
||||||
* CAA parsing is broken;
|
* CAA parsing is broken;
|
||||||
* NSEC(3) cover/match/closest enclose;
|
* NSEC(3) cover/match/closest enclose;
|
||||||
* Replies with TC bit are not parsed to the end;
|
* 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:
|
Redo:
|
||||||
// Ideally we want use isMsg here before we allocate memory to actually parse the packet.
|
|
||||||
req := new(Msg)
|
req := new(Msg)
|
||||||
err := req.Unpack(m)
|
err := req.Unpack(m)
|
||||||
if err != nil { // Send a FormatError back
|
if err != nil { // Send a FormatError back
|
||||||
|
Loading…
x
Reference in New Issue
Block a user