Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,433 for protocol2a (0.46 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/ExternalHttp2Example.kt

     */
    package okhttp3.internal.http
    
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    
    object ExternalHttp2Example {
      @JvmStatic
      fun main(args: Array<String>) {
        val client =
          OkHttpClient.Builder()
            .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
            .build()
        val call =
          client.newCall(
            Request.Builder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        enableTlsWithTunnel()
        server.protocols = Arrays.asList(Protocol.HTTP_1_1)
        responseBodyFail(Protocol.HTTP_1_1)
      }
    
      @Test
      fun responseBodyFailHttp2OverHttps() {
        platform.assumeHttp2Support()
        enableTlsWithTunnel()
        server.protocols = Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1)
        responseBodyFail(Protocol.HTTP_2)
      }
    
      @Test
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

          assertThat(response.body.string()).isEqualTo("healthy")
        }
      }
    
      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: Mon Jan 08 01:13:22 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. releasenotes/notes/tls-inbound-all-protocols.yaml

    John Howard <******@****.***> 1612368962 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 03 16:16:02 UTC 2021
    - 195 bytes
    - Viewed (0)
  5. 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)
  6. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

                sslSocketFactory(
                  sslSocketFactory,
                  handshakeCertificates.trustManager,
                )
    
                when (socketMode.protocol) {
                  HTTP_2 -> protocols(listOf(HTTP_2, HTTP_1_1))
                  HTTP_1_1 -> protocols(listOf(HTTP_1_1))
                  else -> TODO()
                }
    
                val serverSslSocketFactory =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8K 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. okhttp/src/main/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt

        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        if (matchesSocket(sslSocket)) {
          // Enable session tickets.
          Conscrypt.setUseSessionTickets(sslSocket, true)
    
          // Enable ALPN.
          val names = Platform.alpnProtocolNames(protocols)
          Conscrypt.setApplicationProtocols(sslSocket, names.toTypedArray())
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. 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)
Back to top