]> Cypherpunks repositories - gostls13.git/commit
net: support no-reload option for unix go resolver
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Tue, 1 Nov 2022 08:53:10 +0000 (08:53 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 1 Nov 2022 22:44:57 +0000 (22:44 +0000)
commit81efd7b347dd6d7f12fd49c6eee0274005734c71
tree071951641abe40cf57e1c6711118367cad633e41
parente23876a3835a67dfab936da273fb050dabe765d1
net: support no-reload option for unix go resolver

It adds support for no-reload option, as specified in resolv.conf(5):
 no-reload (since glibc 2.26)
                     Sets RES_NORELOAD in _res.options.  This option
                     disables automatic reloading of a changed
                     configuration file.

Change-Id: I11182c5829434503f719ed162014f2301e3ba8d4
GitHub-Last-Rev: 7ae44be2d5d5e3242dc39e733f154a64724dbedd
GitHub-Pull-Request: golang/go#56489
Reviewed-on: https://go-review.googlesource.com/c/go/+/446555
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
src/net/dnsclient_unix.go
src/net/dnsclient_unix_test.go
src/net/dnsconfig.go
src/net/dnsconfig_unix.go