diff options
author | Tyler Davis <tydavis@gmail.com> | 2022-01-06 04:50:20 +0000 |
---|---|---|
committer | Tyler Davis <tydavis@gmail.com> | 2022-01-06 04:50:20 +0000 |
commit | b6385e524ebbfe242f9d36eb4361f8568e6bf895 (patch) | |
tree | 90d136278e520af555f64479973c287f39719361 /vendor/github.com/miekg/dns/msg_truncate.go | |
parent | a687ebabb6589ebb36a9c385f583a19ac462b831 (diff) | |
download | dnstracker-b6385e524ebbfe242f9d36eb4361f8568e6bf895.tar.gz dnstracker-b6385e524ebbfe242f9d36eb4361f8568e6bf895.zip |
Update module to 1.17 and update all deps
Diffstat (limited to 'vendor/github.com/miekg/dns/msg_truncate.go')
-rw-r--r-- | vendor/github.com/miekg/dns/msg_truncate.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/miekg/dns/msg_truncate.go b/vendor/github.com/miekg/dns/msg_truncate.go index 156c5a0..2ddc9a7 100644 --- a/vendor/github.com/miekg/dns/msg_truncate.go +++ b/vendor/github.com/miekg/dns/msg_truncate.go @@ -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. |