mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-05 14:17:36 +03:00
Update miekg/dns
This commit is contained in:
parent
34909babfb
commit
1ae2281588
39 changed files with 274 additions and 29 deletions
5
vendor/github.com/miekg/dns/msg_truncate.go
generated
vendored
5
vendor/github.com/miekg/dns/msg_truncate.go
generated
vendored
|
@ -8,6 +8,11 @@ package dns
|
|||
// record adding as many records as possible without exceeding the
|
||||
// requested buffer size.
|
||||
//
|
||||
// If the message fits within the requested size without compression,
|
||||
// Truncate will set the message's Compress attribute to false. It is
|
||||
// the caller's responsibility to set it back to true if they wish to
|
||||
// compress the payload regardless of size.
|
||||
//
|
||||
// The TC bit will be set if any records were excluded from the message.
|
||||
// If the TC bit is already set on the message it will be retained.
|
||||
// TC indicates that the client should retry over TCP.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue