resinit

package
v0.0.0-...-4fc0f51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2025 License: MIT Imports: 3 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IfDNSError

func IfDNSError(err error)

Work around a glibc bug where cached configs from /etc/resolv.conf can cause DNS failures after the network changes. This is a no-op on non-Linux platforms. See implementation details in resinit_linux.go. The Rust standard library contains a similar workaround: https://github.com/rust-lang/rust/blob/028569ab1b/src/libstd/sys_common/net.rs#L186-L190

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL