Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for dial (0.13 sec)

  1. src/net/http/serve_test.go

    			string(got), err, expected)
    	}
    
    	// Slow client that should timeout.
    	t1 := time.Now()
    	conn, err := net.Dial("tcp", ts.Listener.Addr().String())
    	if err != nil {
    		return fmt.Errorf("Dial: %v", err)
    	}
    	buf := make([]byte, 1)
    	n, err := conn.Read(buf)
    	conn.Close()
    	latency := time.Since(t1)
    	if n != 0 || err != io.EOF {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    		Help:      "Total number of internode TCP dial timeouts and errors",
    		Type:      counterMetric,
    	}
    }
    
    func getInternodeTCPAvgDuration() MetricDescription {
    	return MetricDescription{
    		Namespace: interNodeMetricNamespace,
    		Subsystem: trafficSubsystem,
    		Name:      "dial_avg_time",
    		Help:      "Average time of internodes TCP dial calls",
    		Type:      gaugeMetric,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  3. src/net/http/server.go

    	// Addr optionally specifies the TCP address for the server to listen on,
    	// in the form "host:port". If empty, ":http" (port 80) is used.
    	// The service names are defined in RFC 6335 and assigned by IANA.
    	// See net.Dial for details of the address format.
    	Addr string
    
    	Handler Handler // handler to invoke, http.DefaultServeMux if nil
    
    	// DisableGeneralOptionsHandler, if true, passes "OPTIONS *" requests to the Handler,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_pods_test.go

    				{IP: "10.0.0.1"},
    			},
    		},
    		{
    			name: "Single-stack addresses in dual-stack cluster",
    			nodeAddresses: []v1.NodeAddress{
    				{Type: v1.NodeInternalIP, Address: "10.0.0.1"},
    			},
    			podIPs: []v1.PodIP{
    				{IP: "10.0.0.1"},
    			},
    		},
    		{
    			name: "Multiple single-stack addresses in dual-stack cluster",
    			nodeAddresses: []v1.NodeAddress{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster_test.go

    			expectedAddr:    "::1",
    			expectedPort:    7073,
    		}, // dual-stack use cases
    		{
    			name:            "dual-stack host: defaultEndpoint set to 127.0.0.1:7073",
    			proxy:           &dsProxy,
    			defaultEndpoint: "127.0.0.1:7073",
    			expectedAddr:    "127.0.0.1",
    			expectedPort:    7073,
    		},
    		{
    			name:            "dual-stack host: defaultEndpoint set to [::1]:7073",
    			proxy:           &dsProxy,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_builder_test.go

    		expectedFamily cluster.Cluster_DnsLookupFamily
    	}{
    		{
    			name:           "all ipv4, dual stack disabled",
    			clusterName:    "foo",
    			discovery:      cluster.Cluster_STRICT_DNS,
    			proxy:          getProxy(),
    			dualStack:      false,
    			expectedFamily: cluster.Cluster_V4_ONLY,
    		},
    		{
    			name:           "all ipv4, dual stack enabled",
    			clusterName:    "foo",
    			discovery:      cluster.Cluster_STRICT_DNS,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods.go

    }
    
    // makeHostsMount makes the mountpoint for the hosts file that the containers
    // in a pod are injected with. podIPs is provided instead of podIP as podIPs
    // are present even if dual-stack feature flag is not enabled.
    func makeHostsMount(podDir string, podIPs []string, hostName, hostDomainName string, hostAliases []v1.HostAlias, useHostNetwork bool) (*kubecontainer.Mount, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/data.go

    //	Portions Copyright © 2009 The Go Authors. All rights reserved.
    //
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top