Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 839 for protocol2a (0.26 sec)

  1. okhttp/src/main/kotlin/okhttp3/Protocol.kt

            HTTP_1_0.protocol -> HTTP_1_0
            HTTP_1_1.protocol -> HTTP_1_1
            H2_PRIOR_KNOWLEDGE.protocol -> H2_PRIOR_KNOWLEDGE
            HTTP_2.protocol -> HTTP_2
            SPDY_3.protocol -> SPDY_3
            QUIC.protocol -> QUIC
            else -> {
              // Support HTTP3 draft like h3-29
              if (protocol.startsWith(HTTP_3.protocol)) HTTP_3 else throw IOException("Unexpected protocol: $protocol")
            }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:17:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/deployment/services.go

    			}
    
    			// Default protocol is TCP
    			protocol := sPort.Protocol
    			if protocol == "" {
    				protocol = core_v1.ProtocolTCP
    			}
    
    			// Appending the service information for the Port/Protocol combination
    			portMap[sPort.Port][protocol] = append(portMap[sPort.Port][protocol], swn.Name)
    		}
    	}
    
    	return portMap
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

          OkHttpClient.Builder()
            .protocols(protocols as List<Protocol>)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("protocols must not contain null")
        }
      }
    
      @Test fun spdy3IsRemovedFromProtocols() {
        val protocols =
          mutableListOf(
            Protocol.HTTP_1_1,
            Protocol.SPDY_3,
          )
        val client =
          OkHttpClient.Builder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go

    		}
    	}
    }
    
    // handshake ensures the provided user protocol matches one of the allowed protocols. It returns
    // no error if no protocol is specified.
    func handshake(config *websocket.Config, req *http.Request, allowed []string) error {
    	protocols := config.Protocol
    	if len(protocols) == 0 {
    		protocols = []string{""}
    	}
    
    	for _, protocol := range protocols {
    		for _, allow := range allowed {
    			if allow == protocol {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

          .assertSuccessful()
          .assertCode(200)
      }
    
      private fun enableProtocol(protocol: Protocol) {
        enableTls()
        client =
          client.newBuilder()
            .protocols(listOf(protocol, Protocol.HTTP_1_1))
            .build()
        server1.protocols = client.protocols
        server2.protocols = client.protocols
      }
    
      private fun enableTls() {
        client =
          client.newBuilder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/conversion_test.go

    		{25, "", nil, corev1.ProtocolTCP, protocol.TCP},
    		{53, "", nil, corev1.ProtocolTCP, protocol.TCP},
    		{3306, "", nil, corev1.ProtocolTCP, protocol.TCP},
    		{27017, "", nil, corev1.ProtocolTCP, protocol.TCP},
    		{8888, "http", nil, corev1.ProtocolTCP, protocol.HTTP},
    		{8888, "http-test", nil, corev1.ProtocolTCP, protocol.HTTP},
    		{8888, "http", nil, corev1.ProtocolUDP, protocol.UDP},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/multicluster/inconsistent-service-1.yaml

        app: my-service
      ports:
      - name: tcp-foo
        protocol: TCP
        port: 8080
        targetPort: 8080
    ---
    # Service is mixed with port protocols, should generate warning.
    apiVersion: v1
    kind: Service
    metadata:
      name: mixed-port-protocol
      namespace: my-namespace
    spec:
      type: ClusterIP
      selector:
        app: my-service
      ports:
      - name: tcp
        protocol: TCP
        port: 8080
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       */
      var protocols: List<Protocol> = immutableListOf(Protocol.HTTP_2, Protocol.HTTP_1_1)
        set(value) {
          val protocolList = value.toImmutableList()
          require(Protocol.H2_PRIOR_KNOWLEDGE !in protocolList || protocolList.size == 1) {
            "protocols containing h2_prior_knowledge cannot use other protocols: $protocolList"
          }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/testdata/multicluster/inconsistent-service-2.yaml

        app: my-service
      ports:
      - name: tcp-foo
        protocol: TCP
        port: 8080
        targetPort: 8080
    ---
    # Service is mixed with port protocols, should generate warning.
    apiVersion: v1
    kind: Service
    metadata:
      name: mixed-port-protocol
      namespace: my-namespace
    spec:
      type: ClusterIP
      selector:
        app: my-service
      ports:
      - name: http
        protocol: TCP
        port: 8080
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         *
         * @param protocols the protocols to use, in order of preference. If the list contains
         *     [Protocol.H2_PRIOR_KNOWLEDGE] then that must be the only protocol and HTTPS URLs will not
         *     be supported. Otherwise the list must contain [Protocol.HTTP_1_1]. The list must
         *     not contain null or [Protocol.HTTP_1_0].
         */
        fun protocols(protocols: List<Protocol>) =
          apply {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
Back to top