• Miek Gieben's avatar
    Move to dns.Truncate (#2942) · a5c405f6
    Miek Gieben authored
    Ditch our truncation code and use the upstream one in miekg/dns.
    This saves code on our end, end upstream is also more efficient as every
    RR is Len-ed only once. With our bin-search this is not guaranteed.
    Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
    a5c405f6
request.go 8.38 KB