Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ASR_CONFIG (0.08 sec)

  1. src/net/conf.go

    		confVal.preferCgo = true
    		return
    	}
    
    	// OpenBSD apparently lets you override the location of resolv.conf
    	// with ASR_CONFIG. If we notice that, defer to libc.
    	if runtime.GOOS == "openbsd" && os.Getenv("ASR_CONFIG") != "" {
    		confVal.preferCgo = true
    		return
    	}
    }
    
    // goosPrefersCgo reports whether the GOOS value passed in prefers
    // the cgo resolver.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. src/net/net.go

    conditions: on systems that do not let programs make direct DNS requests (OS X),
    when the LOCALDOMAIN environment variable is present (even if empty),
    when the RES_OPTIONS or HOSTALIASES environment variable is non-empty,
    when the ASR_CONFIG environment variable is non-empty (OpenBSD only),
    when /etc/resolv.conf or /etc/nsswitch.conf specify the use of features that the
    Go resolver does not implement.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top