Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for GOINSECURE (0.24 sec)

  1. src/cmd/go/testdata/script/get_insecure.txt

    ! go get -d insecure.go-get-issue-15410.appspot.com/pkg/p
    
    # Modules: Try again with GOINSECURE (should succeed).
    env GOINSECURE=insecure.go-get-issue-15410.appspot.com
    env GONOSUMDB=insecure.go-get-issue-15410.appspot.com
    go get -d insecure.go-get-issue-15410.appspot.com/pkg/p
    
    # Modules: Try updating without GOINSECURE (should fail).
    env GOINSECURE=''
    env GONOSUMDB=''
    ! go get -d -u -f insecure.go-get-issue-15410.appspot.com/pkg/p
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 937 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_get_insecure_redirect.txt

    # golang.org/issue/61877: 'go get' would panic in case of an insecure redirect in module mode
    
    [!git] skip
    
    env GOPRIVATE=vcs-test.golang.org
    
    ! go get -d vcs-test.golang.org/insecure/go/insecure
    stderr 'redirected .* to insecure URL'
    
    [short] stop 'builds a git repo'
    
    env GOINSECURE=vcs-test.golang.org/insecure/go/insecure
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 17:34:25 UTC 2023
    - 538 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_download_insecure_redirect.txt

    # insecure glob host
    env GOINSECURE=*.golang.org
    go clean -modcache
    go mod download vcs-test.golang.org/insecure/go/insecure@latest
    
    # insecure multiple host
    env GOINSECURE=somewhere-else.com,*.golang.org
    go clean -modcache
    go mod download vcs-test.golang.org/insecure/go/insecure@latest
    
    # different insecure host does not fetch
    env GOINSECURE=somewhere-else.com
    go clean -modcache
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 934 bytes
    - Viewed (0)
  4. src/internal/cfg/cfg.go

    	FC
    	GCCGO
    	GO111MODULE
    	GO386
    	GOAMD64
    	GOARCH
    	GOARM
    	GOARM64
    	GOBIN
    	GOCACHE
    	GOCACHEPROG
    	GOENV
    	GOEXE
    	GOEXPERIMENT
    	GOFLAGS
    	GOGCCFLAGS
    	GOHOSTARCH
    	GOHOSTOS
    	GOINSECURE
    	GOMIPS
    	GOMIPS64
    	GOMODCACHE
    	GONOPROXY
    	GONOSUMDB
    	GOOS
    	GOPATH
    	GOPPC64
    	GOPRIVATE
    	GOPROXY
    	GORISCV64
    	GOROOT
    	GOSUMDB
    	GOTMPDIR
    	GOTOOLCHAIN
    	GOTOOLDIR
    	GOVCS
    	GOWASM
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 01:33:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/00-bug.yml

            GOENV="/Users/gopher/Library/Application Support/go/env"
            GOEXE=""
            GOEXPERIMENT=""
            GOFLAGS=""
            GOHOSTARCH="arm64"
            GOHOSTOS="darwin"
            GOINSECURE=""
            GOMODCACHE="/Users/gopher/go/pkg/mod"
            GONOPROXY=""
            GONOSUMDB=""
            GOOS="darwin"
            GOPATH="/Users/gopher/go"
            GOPRIVATE=""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/envcmd/env.go

    		{Name: "GOEXPERIMENT", Value: cfg.RawGOEXPERIMENT},
    
    		{Name: "GOFLAGS", Value: cfg.Getenv("GOFLAGS")},
    		{Name: "GOHOSTARCH", Value: runtime.GOARCH},
    		{Name: "GOHOSTOS", Value: runtime.GOOS},
    		{Name: "GOINSECURE", Value: cfg.GOINSECURE},
    		{Name: "GOMODCACHE", Value: cfg.GOMODCACHE, Changed: cfg.GOMODCACHEChanged},
    		{Name: "GONOPROXY", Value: cfg.GONOPROXY, Changed: cfg.GONOPROXYChanged},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cfg/cfg.go

    	GOPRIVATE                   = Getenv("GOPRIVATE")
    	GONOPROXY, GONOPROXYChanged = EnvOrAndChanged("GONOPROXY", GOPRIVATE)
    	GONOSUMDB, GONOSUMDBChanged = EnvOrAndChanged("GONOSUMDB", GOPRIVATE)
    	GOINSECURE                  = Getenv("GOINSECURE")
    	GOVCS                       = Getenv("GOVCS")
    )
    
    // EnvOrAndChanged returns the environment variable value
    // and reports whether it differs from the default value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/web/http.go

    	urlpkg "net/url"
    	"os"
    	"strings"
    	"time"
    
    	"cmd/go/internal/auth"
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"cmd/internal/browser"
    )
    
    // impatientInsecureHTTPClient is used with GOINSECURE,
    // when we're connecting to https servers that might not be there
    // or might be using self-signed certificates.
    var impatientInsecureHTTPClient = &http.Client{
    	CheckRedirect: checkRedirect,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 17:34:27 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/help/helpdoc.go

    		are applied after this list and therefore override it.
    	GOINSECURE
    		Comma-separated list of glob patterns (in the syntax of Go's path.Match)
    		of module path prefixes that should always be fetched in an insecure
    		manner. Only applies to dependencies that are being fetched directly.
    		GOINSECURE does not disable checksum database validation. GOPRIVATE or
    		GONOSUMDB may be used to achieve that.
    	GOOS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modfetch/repo.go

    	errUseProxy error = notExistErrorf("path does not match GOPRIVATE/GONOPROXY")
    )
    
    func lookupDirect(ctx context.Context, path string) (Repo, error) {
    	security := web.SecureOnly
    
    	if module.MatchPrefixPatterns(cfg.GOINSECURE, path) {
    		security = web.Insecure
    	}
    	rr, err := vcs.RepoRootForImportPath(path, vcs.PreferMod, security)
    	if err != nil {
    		// We don't know where to find code for a module with this path.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 16:36:19 UTC 2023
    - 15.2K bytes
    - Viewed (0)
Back to top