Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for laddr (0.43 sec)

  1. internal/event/target/webhook.go

    		cancelCh:   ctx.Done(),
    	}
    
    	// Calculate the webhook addr with the port number format
    	target.addr = args.Endpoint.Host
    	if _, _, err := net.SplitHostPort(args.Endpoint.Host); err != nil && strings.Contains(err.Error(), "missing port in address") {
    		switch strings.ToLower(args.Endpoint.Scheme) {
    		case "http":
    			target.addr += ":80"
    		case "https":
    			target.addr += ":443"
    		default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  2. internal/rest/rpc-stats.go

    func setupReqStatsUpdate(req *http.Request) (*http.Request, func()) {
    	var dialStart, dialEnd int64
    
    	trace := &httptrace.ClientTrace{
    		ConnectStart: func(network, addr string) {
    			atomic.StoreInt64(&dialStart, time.Now().UnixNano())
    		},
    		ConnectDone: func(network, addr string, err error) {
    			if err == nil {
    				atomic.StoreInt64(&dialEnd, time.Now().UnixNano())
    			}
    		},
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 16:27:58 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  3. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    	MINIO_CI_CD=1 ./minio.${OLD_VERSION} server /tmp/data/{1...4} &
    	sleep 5
    
    	set -x
    	mc alias set old-minio http://localhost:9000 minioadmin minioadmin
    	mc idp ldap add old-minio \
    		server_addr=localhost:1389 \
    		server_insecure=on \
    		lookup_bind_dn=cn=admin,dc=min,dc=io \
    		lookup_bind_password=admin \
    		user_dn_search_base_dn=dc=min,dc=io \
    		user_dn_search_filter="(uid=%s)" \
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. cmd/globals.go

    }
    
    type disksLayout struct {
    	legacy bool
    	pools  []poolDisksLayout
    }
    
    type serverCtxt struct {
    	JSON, Quiet               bool
    	Anonymous                 bool
    	StrictS3Compat            bool
    	Addr, ConsoleAddr         string
    	ConfigDir, CertsDir       string
    	configDirSet, certsDirSet bool
    	Interface                 string
    
    	RootUser, RootPwd string
    
    	FTP  []string
    	SFTP []string
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    	configCmds := []string{
    		"identity_ldap",
    		fmt.Sprintf("server_addr=%s", serverAddr),
    		"server_insecure=on",
    		"lookup_bind_dn=cn=admin,dc=min,dc=io",
    		"lookup_bind_password=admin",
    		"user_dn_search_base_dn=dc=min,dc=io",
    		"user_dn_search_filter=(uid=%s)",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  6. cmd/testdata/undeleteable-object.tgz

    client_cert_key","value":""}]},"heal":{"_":[{"key":"bitrotscan","value":"off"},{"key":"max_sleep","value":"250ms"},{"key":"max_io","value":"100"},{"key":"drive_workers","value":""}]},"identity_ldap":{"_":[{"key":"enable","value":""},{"key":"server_addr","value":""},{"key":"srv_record_name","value":""},{"key":"user_dn_search_base_dn","value":""},{"key":"use multisitea/data/disterasure/xl7/.minio.sys/pool.bin/xl.meta XL2 Æ w Ä$•Ä Ó ÉŸþ¥¹ °Ä ºHØH Å Kƒ¤Type ¥V2ObjÞ ¢IDÄ ¤DDirÄ 5 A·DoCÁ§slÂ0RÿŦEcAlgo...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
  7. internal/handlers/proxy.go

    	raddr, _, _ := net.SplitHostPort(addr)
    	if raddr == "" {
    		return addr
    	}
    	return raddr
    }
    
    // GetSourceIP retrieves the IP from the request headers
    // and falls back to r.RemoteAddr when necessary.
    func GetSourceIP(r *http.Request) string {
    	addr := GetSourceIPRaw(r)
    	if strings.ContainsRune(addr, ':') {
    		return "[" + addr + "]"
    	}
    	return addr
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  8. cmd/admin-server-info.go

    // local endpoints from given list of endpoints
    func getLocalServerProperty(endpointServerPools EndpointServerPools, r *http.Request, metrics bool) madmin.ServerProperties {
    	addr := globalLocalNodeName
    	if r != nil {
    		addr = r.Host
    	}
    	if globalIsDistErasure {
    		addr = globalLocalNodeName
    	}
    	poolNumbers := make(map[int]struct{})
    	network := make(map[string]string)
    	for _, ep := range endpointServerPools {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. cmd/common-main.go

    	// Get anonymous flag from command line argument.
    	ctxt.Anonymous = ctx.IsSet("anonymous") || ctx.GlobalIsSet("anonymous")
    	// Fetch address option
    	ctxt.Addr = ctx.GlobalString("address")
    	if ctxt.Addr == "" || ctxt.Addr == ":"+GlobalMinioDefaultPort {
    		ctxt.Addr = ctx.String("address")
    	}
    
    	// Fetch console address option
    	ctxt.ConsoleAddr = ctx.GlobalString("console-address")
    	if ctxt.ConsoleAddr == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  10. internal/http/check_port_test.go

    	if runtime.GOOS != "linux" {
    		t.Skip()
    	}
    
    	l, err := net.Listen("tcp", "localhost:0") // ask kernel for a free port.
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer l.Close()
    
    	port := l.Addr().(*net.TCPAddr).Port
    
    	testCases := []struct {
    		host        string
    		port        int
    		expectedErr error
    	}{
    		{"", port, fmt.Errorf("listen tcp :%v: bind: address already in use", port)},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top