Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for dialIP (0.29 sec)

  1. src/crypto/tls/tls.go

    //
    // DialWithDialer uses context.Background internally; to specify the context,
    // use [Dialer.DialContext] with NetDialer set to the desired dialer.
    func DialWithDialer(dialer *net.Dialer, network, addr string, config *Config) (*Conn, error) {
    	return dial(context.Background(), dialer, network, addr, config)
    }
    
    func dial(ctx context.Context, netDialer *net.Dialer, network, addr string, config *Config) (*Conn, error) {
    	if netDialer.Timeout != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    		toDial = strings.Replace(toDial, "https://", "wss://", 1)
    		toDial += RoutePath
    
    		dialer := ws.DefaultDialer
    		dialer.ReadBufferSize = readBufferSize
    		dialer.WriteBufferSize = writeBufferSize
    		dialer.Timeout = defaultDialTimeout
    		if c.dialer != nil {
    			dialer.NetDial = c.dialer.DialContext
    		}
    		if c.header == nil {
    			c.header = make(http.Header, 2)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  3. internal/grid/manager.go

    	local string
    
    	// Validate incoming requests.
    	authRequest func(r *http.Request) error
    }
    
    // ManagerOptions are options for creating a new grid manager.
    type ManagerOptions struct {
    	Dialer       ContextDialer               // Outgoing dialer.
    	Local        string                      // Local host name.
    	Hosts        []string                    // All hosts, including local in the grid.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/net/lookup_test.go

    type lookupCustomResolver struct {
    	*Resolver
    	mu     sync.RWMutex
    	dialed bool
    }
    
    func (lcr *lookupCustomResolver) dial() func(ctx context.Context, network, address string) (Conn, error) {
    	return func(ctx context.Context, network, address string) (Conn, error) {
    		lcr.mu.Lock()
    		lcr.dialed = true
    		lcr.mu.Unlock()
    		return Dial(network, address)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  5. samples/bookinfo/src/productpage/templates/productpage.html

    <script type="text/javascript">
      window.addEventListener("DOMContentLoaded", (event) => {
        const dialog = document.querySelector("dialog");
        const showButton = document.querySelector("#sign-in-button");
        const closeButton = document.querySelector("#close-dialog");
    
        if (showButton) {
          showButton.addEventListener("click", () => {
            dialog.showModal();
          });
        }
    
        if (closeButton) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. src/net/net.go

    primitives, most clients will need only the basic interface provided
    by the [Dial], [Listen], and Accept functions and the associated
    [Conn] and [Listener] interfaces. The crypto/tls package uses
    the same interfaces and similar Dial and Listen functions.
    
    The Dial function connects to a server:
    
    	conn, err := net.Dial("tcp", "golang.org:80")
    	if err != nil {
    		// handle error
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/net/conf.go

    		// implementation when there's a non-nil Resolver with a
    		// non-nil Dialer. This is a sign that the code is trying
    		// to use their DNS-speaking net.Conn (such as an in-memory
    		// DNS cache) and they don't want to actually hit the network.
    		// Once we add support for looking the default DNS servers
    		// from plan9, though, then we can relax this.
    		if r == nil || r.Dial == nil {
    			return false
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. cmd/kube-apiserver/app/server.go

    		// Use the config.ControlPlane.Generic.EgressSelector lookup to find the dialer to connect to the kubelet
    		config.Extra.KubeletClientConfig.Lookup = config.ControlPlane.Generic.EgressSelector.Lookup
    
    		// Use the config.ControlPlane.Generic.EgressSelector lookup as the transport used by the "proxy" subresources.
    		networkContext := egressselector.Cluster.AsNetworkContext()
    		dialer, err := config.ControlPlane.Generic.EgressSelector.Lookup(networkContext)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 17:44:20 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go

    			grpc.WithStreamInterceptor(otelgrpc.StreamClientInterceptor(tracingOpts...)))
    	}
    	if egressDialer != nil {
    		dialer := func(ctx context.Context, addr string) (net.Conn, error) {
    			if strings.Contains(addr, "//") {
    				// etcd client prior to 3.5 passed URLs to dialer, normalize to address
    				u, err := url.Parse(addr)
    				if err != nil {
    					return nil, err
    				}
    				addr = u.Host
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:56:39 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. src/net/http/clientserver_test.go

    			dialed = true
    		default:
    		}
    
    		if !tt.ok && dialed {
    			t.Errorf("For key %q, value %q, transport dialed. Expected local failure. Response was: (%v, %v)\nServer replied with: %s", tt.key, tt.val, res, err, body)
    		} else if (err == nil) != tt.ok {
    			t.Errorf("For key %q, value %q; got err = %v; want ok=%v", tt.key, tt.val, err, tt.ok)
    		}
    	}
    }
    
    func TestInterruptWithPanic(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
Back to top