Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 816 for host3 (0.09 sec)

  1. src/net/http/routing_tree_test.go

    		name       string
    		tree       *routingNode
    		host, path string
    		want       string
    	}{
    		{
    			"post",
    			buildTree("POST /"), "", "/foo",
    			"POST",
    		},
    		{
    			"get",
    			buildTree("GET /"), "", "/foo",
    			"GET,HEAD",
    		},
    		{
    			"host",
    			hostTree, "", "/foo",
    			"",
    		},
    		{
    			"host",
    			hostTree, "", "/foo/bar",
    			"POST",
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. src/net/url/url.go

    		zone := strings.Index(host[:i], "%25")
    		if zone >= 0 {
    			host1, err := unescape(host[:zone], encodeHost)
    			if err != nil {
    				return "", err
    			}
    			host2, err := unescape(host[zone:i], encodeZone)
    			if err != nil {
    				return "", err
    			}
    			host3, err := unescape(host[i:], encodeHost)
    			if err != nil {
    				return "", err
    			}
    			return host1 + host2 + host3, nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  3. pkg/proxy/endpointslicecache_test.go

    			namespacedName: types.NamespacedName{Name: "svc1", Namespace: "ns1"},
    			hostname:       "host1",
    			endpointSlices: []*discovery.EndpointSlice{
    				generateEndpointSliceWithOffset("svc1", "ns1", 1, 1, 2, 999, 999, []string{"host1", "host2"}, []*int32{ptr.To[int32](80)}),
    				generateEndpointSliceWithOffset("svc1", "ns1", 2, 1, 2, 999, 999, []string{"host1", "host2"}, []*int32{ptr.To[int32](8080)}),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. cmd/net.go

    func isHostIP(ipAddress string) bool {
    	host, _, err := net.SplitHostPort(ipAddress)
    	if err != nil {
    		host = ipAddress
    	}
    	// Strip off IPv6 zone information.
    	if i := strings.Index(host, "%"); i > -1 {
    		host = host[:i]
    	}
    	return net.ParseIP(host) != nil
    }
    
    // extractHostPort - extracts host/port from many address formats
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/gateway_simulation_test.go

    		},
    	)
    }
    
    func TestGatewayConflicts(t *testing.T) {
    	tcpServer := `port:
      number: 80
      name: tcp
      protocol: TCP
    hosts:
    - "foo.bar"`
    	httpServer := `port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - "foo.bar"`
    	tlsServer := `hosts:
      - ./*
    port:
      name: https-ingress
      number: 443
      protocol: HTTPS
    tls:
      credentialName: sds-credential
      mode: SIMPLE`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 18:27:40 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  6. pilot/pkg/model/sidecar_test.go

    			},
    			services:  []*Service{serviceA8000},
    			expected:  []*Service{serviceA8000},
    			namespace: "a",
    		},
    		{
    			name: "fall back to wildcard namespace",
    			listenerHosts: map[string]hostClassification{
    				wildcardNamespace: {allHosts: []host.Name{"host"}, exactHosts: sets.New[host.Name]("host")},
    				"a":               {allHosts: []host.Name{"alt"}, exactHosts: sets.New[host.Name]("alt")},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/testdata/isolation.yaml.golden

    spec:
      gateways:
      - gateway-conformance-infra/isolation-istio-autogenerated-k8s-gateway-abc-foo-example-com
      hosts:
      - bar.com
      http:
      - match:
        - uri:
            prefix: /abc-foo-example-com
        name: gateway-conformance-infra.attaches-to-abc-foo-example-com-with-hostname-intersection.0
        route:
        - destination:
            host: infra-backend-v1.gateway-conformance-infra.svc.domain.suffix
            port:
              number: 8080
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/crypto/x509/verify.go

    	}
    
    	return true
    }
    
    func matchExactly(hostA, hostB string) bool {
    	if hostA == "" || hostA == "." || hostB == "" || hostB == "." {
    		return false
    	}
    	return toLowerCaseASCII(hostA) == toLowerCaseASCII(hostB)
    }
    
    func matchHostnames(pattern, host string) bool {
    	pattern = toLowerCaseASCII(pattern)
    	host = toLowerCaseASCII(strings.TrimSuffix(host, "."))
    
    	if len(pattern) == 0 || len(host) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  9. pkg/config/validation/validation_test.go

    			}},
    		}, valid: false},
    		{name: "delegate with no hosts", in: &networking.VirtualService{
    			Hosts: nil,
    			Http: []*networking.HTTPRoute{{
    				Route: []*networking.HTTPRouteDestination{{
    					Destination: &networking.Destination{Host: "foo.baz"},
    				}},
    			}},
    		}, valid: true},
    		{name: "bad host", in: &networking.VirtualService{
    			Hosts: []string{"foo.ba!r"},
    			Http: []*networking.HTTPRoute{{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/gateway_test.go

    						Gateways: []string{"testns/gateway2"},
    						Hosts:    []string{"*"},
    						Tcp: []*networking.TCPRoute{{
    							Route: []*networking.RouteDestination{{Destination: &networking.Destination{Host: "example.com"}}},
    						}},
    					},
    				},
    			},
    			[]string{"0.0.0.0_443"},
    		},
    		{
    			"gateway with multiple HTTPS servers with bind and same host",
    			&pilot_model.Proxy{},
    			[]config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
Back to top