dns/dnsmessage: update SVCB packing to prohibit name compression This commit updates the dns/dnsmessage package to correctly handle SVCB record packing by prohibiting name compression for the Target field. It turns out the compression of names in RDATA is prohibited (see https://datatracker.ietf.org/doc/html/rfc3597#section-4), except for well-known record types (those defined in https://datatracker.ietf.org/doc/html/rfc1035). The SVCB RFC actually explicitly calls that out (https://datatracker.ietf.org/doc/html/rfc9460#section-2.2), so it was an oversight in my part in https://go.dev/cl/710736. Updates golang/go#43790 Change-Id: I287b034c9e01b49264e07e23293bacd830ab1832 GitHub-Last-Rev: 1d16664c573c0346c45973cb6fa09e91a8963ab2 GitHub-Pull-Request: golang/net#242 Reviewed-on: https://go-review.googlesource.com/c/net/+/713900 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Vinicius Fortuna <fortuna@google.com> Reviewed-by: Damien Neil <dneil@google.com> Auto-Submit: Sean Liao <sean@liao.dev> Reviewed-by: Sean Liao <sean@liao.dev>
This repository holds supplementary Go networking packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/net.
The main issue tracker for the net repository is located at https://go.dev/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.