-
Notifications
You must be signed in to change notification settings - Fork 17.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: use the extended RCode from EDNS(0) OPT resources
For a while now we support EDNS, but the current implementation only sends the OPT resource and doesn't do anything with the response OPT resource. For reference the miekg/dns updates the RCode in the header when there is a OPT resource: https://github.com/miekg/dns/blob/48f38ebef989eedc6b57f1869ae849ccc8f5fe29/msg.go#L868-L872 Change-Id: I0a7146aed3e50654f340a3925f48612561cb85f4 GitHub-Last-Rev: adc3041 GitHub-Pull-Request: #61695 Reviewed-on: https://go-review.googlesource.com/c/go/+/514835 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
- Loading branch information
1 parent
3ca90ed
commit 8657603
Showing
2 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters