Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for dial (0.03 sec)

  1. internal/grid/grid.go

    		dialer.Timeout = defaultDialTimeout
    		if dial != nil {
    			dialer.NetDial = dial
    		}
    		header := make(http.Header, 2)
    		header.Set("Authorization", "Bearer "+auth())
    		header.Set("X-Minio-Time", strconv.FormatInt(time.Now().UnixNano(), 10))
    
    		if len(header) > 0 {
    			dialer.Header = ws.HandshakeHeaderHTTP(header)
    		}
    		dialer.TLSConfig = tls
    
    		conn, br, _, err := dialer.Dial(ctx, toDial)
    		if br != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. cmd/metrics-v3-system-network.go

    		"Total number of failed internode calls")
    	internodeDialedErrorsTotalMD = NewCounterMD(internodeDialErrorsTotal,
    		"Total number of internode TCP dial timeouts and errors")
    	internodeDialAvgTimeNanosMD = NewGaugeMD(internodeDialAvgTimeNanos,
    		"Average dial time of internode TCP calls in nanoseconds")
    	internodeSentBytesTotalMD = NewCounterMD(internodeSentBytesTotal,
    		"Total number of bytes sent to other peer nodes")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. internal/http/dial_dnscache.go

    // function. LookupHost may implement an internal DNS caching implementation, lookupHost
    // input if nil then net.DefaultResolver.LookupHost is used.
    //
    // It dials one by one and returns first connected `net.Conn`.
    // If it fails to dial all IPs from cache it returns first error. If no baseDialFunc
    // is given, it sets default dial function.
    //
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. internal/http/dial_others.go

    func setTCPParametersFn(opts TCPOptions) func(network, address string, c syscall.RawConn) error {
    	return func(network, address string, c syscall.RawConn) error {
    		return nil
    	}
    }
    
    // DialContext is a function to make custom Dial for internode communications
    type DialContext func(ctx context.Context, network, address string) (net.Conn, error)
    
    // NewInternodeDialContext configures a custom dialer for internode communications
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 24 04:08:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. internal/deadlineconn/deadlineconn_test.go

    		}
    
    		// Send a response.
    		_, terr = io.WriteString(deadlineconn, "messages received\n")
    		if terr != nil {
    			t.Errorf("failed to write to client. %v", terr)
    			return
    		}
    	}()
    
    	c, err := net.Dial("tcp", serverAddr)
    	if err != nil {
    		t.Fatalf("unable to connect to server. %v", err)
    	}
    	defer c.Close()
    
    	_, err = io.WriteString(c, "message one\n")
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Nov 11 17:15:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. internal/http/dial_linux.go

    					_ = syscall.SetsockoptString(fd, syscall.SOL_SOCKET, syscall.SO_BINDTODEVICE, opts.Interface)
    				}
    			}
    		})
    		return nil
    	}
    }
    
    // DialContext is a function to make custom Dial for internode communications
    type DialContext func(ctx context.Context, network, address string) (net.Conn, error)
    
    // NewInternodeDialContext setups a custom dialer for internode communication
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. internal/event/target/redis.go

    			return nil, fmt.Errorf("unable to initialize the queue store of Redis `%s`: %w", id, err)
    		}
    	}
    
    	pool := &redis.Pool{
    		MaxIdle:     3,
    		IdleTimeout: 2 * 60 * time.Second,
    		Dial: func() (redis.Conn, error) {
    			conn, err := redis.Dial("tcp", args.Addr.String())
    			if err != nil {
    				return nil, err
    			}
    
    			if args.Password != "" {
    				if args.User != "" {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Diag.java

    import static org.apache.maven.cling.invoker.mvnenc.EncryptInvoker.OK;
    
    /**
     * The "diag" goal. It should always run, despite it overrides configured goal support.
     */
    @Singleton
    @Named("diag")
    public class Diag extends ConfiguredGoalSupport {
        @Inject
        public Diag(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 17 09:50:45 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. apache-maven/src/main/appended-resources/licenses/MIT.txt

     Copyright <YEAR> <COPYRIGHT HOLDER>
    
     Permission is hereby granted, free  of charge, to any person obtaining
     a  copy  of this  software  and  associated  documentation files  (the
     "Software"), to  deal in  the Software without  restriction, including
     without limitation  the rights to  use, copy, modify,  merge, publish,
     distribute,  sublicense, and/or sell  copies of  the Software,  and to
     permit persons to whom the Software  is furnished to do so, subject to
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. LICENSES/vendor/github.com/beorn7/perks/LICENSE

    Copyright (C) 2013 Blake Mizerany
    
    Permission is hereby granted, free of charge, to any person obtaining
    a copy of this software and associated documentation files (the
    "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Fri May 08 04:49:00 UTC 2020
    - 1.2K bytes
    - Viewed (0)
Back to top