Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,304 for host3 (0.27 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. src/net/http/cgi/host.go

    	port := "80"
    	if req.TLS != nil {
    		port = "443"
    	}
    	if matches := trailingPort.FindStringSubmatch(req.Host); len(matches) != 0 {
    		port = matches[1]
    	}
    
    	env := []string{
    		"SERVER_SOFTWARE=go",
    		"SERVER_PROTOCOL=HTTP/1.1",
    		"HTTP_HOST=" + req.Host,
    		"GATEWAY_INTERFACE=CGI/1.1",
    		"REQUEST_METHOD=" + req.Method,
    		"QUERY_STRING=" + req.URL.RawQuery,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. pilot/pkg/config/kube/gateway/testdata/serviceentry.yaml.golden

      creationTimestamp: null
      name: egress-0-istio-autogenerated-k8s-gateway
      namespace: default
    spec:
      gateways:
      - mesh
      hosts:
      - google.com
      http:
      - name: default.egress.0
        route:
        - destination:
            host: google.com
            port:
              number: 80
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      annotations:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 19 18:39:48 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/testdata/mesh.yaml.golden

      name: consumer-override-0-istio-autogenerated-k8s-gateway
      namespace: default
    spec:
      gateways:
      - mesh
      hosts:
      - httpbin-apple.apple.svc.domain.suffix
      http:
      - match:
        - port: 80
        name: default.consumer-override.0
        route:
        - destination:
            host: httpbin-apple.apple.svc.domain.suffix
            port:
              number: 80
    ---
    apiVersion: networking.istio.io/v1alpha3
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 19 18:39:48 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. 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)
  9. pilot/pkg/config/kube/gateway/testdata/weighted.yaml.golden

      namespace: default
    spec:
      gateways:
      - istio-system/gateway-istio-autogenerated-k8s-gateway-tcp
      hosts:
      - '*'
      tcp:
      - route:
        - destination:
            host: httpbin.default.svc.domain.suffix
            port:
              number: 9090
          weight: 1
        - destination:
            host: httpbin-alt.default.svc.domain.suffix
            port:
              number: 9090
          weight: 2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 18:54:10 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/envoyfilter/cluster_patch.go

    	if cMatch.PortNumber != 0 && int(cMatch.PortNumber) != port {
    		return false
    	}
    	return true
    }
    
    func hostContains(hosts []host.Name, service host.Name) bool {
    	for _, h := range hosts {
    		if h == service {
    			return true
    		}
    	}
    	return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top