Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for protocol1 (0.33 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

       */
      private fun enableProtocol(protocol: Protocol) {
        enableTls()
        client =
          client.newBuilder()
            .protocols(listOf(protocol, Protocol.HTTP_1_1))
            .build()
        server.protocols = client.protocols
      }
    
      private fun enableTls() {
        client =
          client.newBuilder()
            .sslSocketFactory(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. tests/integration/pilot/common/routing.go

      servers:
      - port:
          number: 80
          name: http
          protocol: HTTP
        hosts:
        - "*"
    ---
    ` + httpVirtualServiceTmpl,
    		opts: echo.CallOptions{
    			Count: 1,
    			Port: echo.Port{
    				Protocol: protocol.HTTP,
    			},
    			Check: check.And(
    				check.OK(),
    				check.Protocol("HTTP/1.1")),
    		},
    		setupOpts: fqdnHostHeader,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        platform.assumeHttp2Support()
        setsNegotiatedProtocolHeader(Protocol.HTTP_2)
      }
    
      private fun setsNegotiatedProtocolHeader(protocol: Protocol) {
        enableProtocol(protocol)
        server.enqueue(
          MockResponse(body = "A"),
        )
        client =
          client.newBuilder()
            .protocols(Arrays.asList(protocol, Protocol.HTTP_1_1))
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/gateway_test.go

    					},
    					class:    istionetworking.ListenerClassGateway,
    					protocol: protocol.HTTPS,
    				},
    			},
    		},
    		{
    			name: "Topology HTTP Protocol",
    			node: &pilot_model.Proxy{Metadata: &pilot_model.NodeMetadata{}},
    			server: &networking.Server{
    				Port: &networking.Port{
    					Protocol: protocol.HTTP.String(),
    				},
    			},
    			routeName: "some-route",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  5. pkg/config/validation/validation.go

    	if port == nil {
    		return AppendValidation(errs, fmt.Errorf("port is required"))
    	}
    	if protocol.Parse(port.Protocol) == protocol.Unsupported {
    		errs = AppendValidation(errs, fmt.Errorf("invalid protocol %q, supported protocols are HTTP, HTTP2, GRPC, GRPC-WEB, MONGO, REDIS, MYSQL, TCP", port.Protocol))
    	}
    	if port.Number > 0 || !strings.HasPrefix(bind, UnixAddressPrefix) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/proxier_test.go

    		}},
    	}
    	checkIptables(t, ipt, epIpt)
    }
    
    func addTestPort(array []v1.ServicePort, name string, protocol v1.Protocol, port, nodeport int32, targetPort int) []v1.ServicePort {
    	svcPort := v1.ServicePort{
    		Name:       name,
    		Protocol:   protocol,
    		Port:       port,
    		NodePort:   nodeport,
    		TargetPort: intstr.FromInt32(int32(targetPort)),
    	}
    	return append(array, svcPort)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  7. pkg/config/validation/validation_test.go

    		out  string
    	}{
    		{"empty", &networking.Port{}, "", "invalid protocol"},
    		{"empty", &networking.Port{}, "", "port name"},
    		{
    			"happy",
    			&networking.Port{
    				Protocol: "http",
    				Number:   1,
    				Name:     "Henry",
    			},
    			"",
    			"",
    		},
    		{
    			"invalid protocol",
    			&networking.Port{
    				Protocol: "kafka",
    				Number:   1,
    				Name:     "Henry",
    			},
    			"",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  8. pkg/proxy/nftables/proxier_test.go

    		Status: v1.ServiceStatus{},
    	}
    	svcFunc(svc)
    	return svc
    }
    
    func addTestPort(array []v1.ServicePort, name string, protocol v1.Protocol, port, nodeport int32, targetPort int) []v1.ServicePort {
    	svcPort := v1.ServicePort{
    		Name:       name,
    		Protocol:   protocol,
    		Port:       port,
    		NodePort:   nodeport,
    		TargetPort: intstr.FromInt32(int32(targetPort)),
    	}
    	return append(array, svcPort)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_builder_test.go

    			Name:     "default",
    			Port:     8080,
    			Protocol: protocol.HTTP,
    		},
    		&model.Port{
    			Name:     "auto",
    			Port:     9090,
    			Protocol: protocol.Unsupported,
    		},
    	}
    	http2ServicePort := model.PortList{
    		&model.Port{
    			Name:     "default",
    			Port:     8080,
    			Protocol: protocol.HTTP2,
    		},
    		&model.Port{
    			Name:     "auto",
    			Port:     9090,
    			Protocol: protocol.Unsupported,
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_test.go

    					{
    						Port: &networking.SidecarPort{
    							Number:   10001,
    							Protocol: string(protocol.HTTP),
    						},
    						ConnectionPool: overrideSettings,
    					},
    					{
    						Port: &networking.SidecarPort{
    							Number:   10002,
    							Protocol: string(protocol.Unsupported),
    						},
    					},
    				},
    			},
    			want: map[string]*networking.ConnectionPoolSettings{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top