diff options
| author | Paul Marks <pmarks@google.com> | 2016-11-01 21:01:08 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-03-09 21:59:00 +0000 |
| commit | bfc164c64d33edfaf774b5c29b9bf5648a6447fb (patch) | |
| tree | 11b2a206e29f409ea482d63c800dbc91f017d25a /src/cmd/compile/internal/syntax/parser_test.go | |
| parent | b0e91d836a0abd46899cf78fdd93303afcf6c637 (diff) | |
| download | go-bfc164c64d33edfaf774b5c29b9bf5648a6447fb.tar.xz | |
net: add Resolver.StrictErrors
When LookupIP is performing multiple subqueries, this option causes a
timeout/servfail affecting a single query to abort the whole operation,
instead of returning a partial (IPv4/IPv6-only) result.
Similarly, operations that walk the DNS search list will also abort when
encountering one of these errors.
Fixes #17448
Change-Id: Ice22e4aceb555c5a80d19bd1fde8b8fe87ac9517
Reviewed-on: https://go-review.googlesource.com/32572
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/syntax/parser_test.go')
0 files changed, 0 insertions, 0 deletions
