Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for alpn (0.13 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

              }
            } else if (platformSystemProperty == JDK8_ALPN_PROPERTY) {
              if (!isAlpnBootEnabled()) {
                System.err.println("Warning: ALPN Boot not enabled")
              }
            } else if (platformSystemProperty == JDK8_PROPERTY) {
              if (isAlpnBootEnabled()) {
                System.err.println("Warning: ALPN Boot enabled unintentionally")
              }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_2x.md

     *  Fix: Cache 302s and 308s that include appropriate response headers.
     *  Fix: Improve pooling of connections that use proxy selectors.
     *  Fix: Don't leak connections when using ALPN on the desktop.
     *  Fix: Update Jetty ALPN to `7.1.2.v20141202` (Java 7) and `8.1.2.v20141202` (Java 8).
        This fixes a bug in resumed TLS sessions where the wrong protocol could be
        selected.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    /**
     * Access to platform-specific features.
     *
     * ### Session Tickets
     *
     * Supported on Android 2.3+.
     * Supported on JDK 8+ via Conscrypt.
     *
     * ### ALPN (Application Layer Protocol Negotiation)
     *
     * Supported on Android 5.0+.
     *
     * Supported on OpenJDK 8 via the JettyALPN-boot library or Conscrypt.
     *
     * Supported on OpenJDK 9+ via SSLParameters and SSLSocket features.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        }
    
      /**
       * True if ALPN is used on incoming HTTPS connections to negotiate a protocol like HTTP/1.1 or
       * HTTP/2. This is true by default; set to false to disable negotiation and restrict connections
       * to HTTP/1.1.
       */
      var protocolNegotiationEnabled: Boolean = true
    
      /**
       * The protocols supported by ALPN on incoming HTTPS connections in order of preference. The list
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          certificatePinner.check(address.url.host) {
            handshake.peerCertificates.map { it as X509Certificate }
          }
    
          // Success! Save the handshake and the ALPN protocol.
          val maybeProtocol =
            if (connectionSpec.supportsTlsExtensions) {
              Platform.get().getSelectedProtocol(sslSocket)
            } else {
              null
            }
          socket = sslSocket
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_4x.md

    _2022-06-12_
    
     *  Upgrade: [Kotlin 1.6.20][kotlin_1_6_20].
     *  Upgrade: [Okio 3.0.0][okio_3_0_0].
     *  Fix: Recover gracefully when Android's `NativeCrypto` crashes with `"ssl == null"`. This occurs
        when OkHttp retrieves ALPN state on a closed connection.
    
    
    ## Version 4.9.3
    
    _2021-11-21_
    
     *  Fix: Don't fail HTTP/2 responses if they complete before a `RST_STREAM` is sent.
    
    
    ## Version 4.9.2
    
    _2021-09-30_
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/testdata/describe/http_config.json

                          "tls_params": {
                            "tls_minimum_protocol_version": "TLSv1_2",
                            "tls_maximum_protocol_version": "TLSv1_3"
                          },
                          "alpn_protocols": [
                            "istio-peer-exchange",
                            "istio"
                          ],
                          "tls_certificate_sds_secret_configs": [
                            {
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/DuplexTest.kt

        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("success")
      }
    
      /**
       * Tests that use this will fail unless boot classpath is set. Ex. `-Xbootclasspath/p:/tmp/alpn-boot-8.0.0.v20140317`
       */
      private fun enableProtocol(protocol: Protocol) {
        enableTls()
        client =
          client.newBuilder()
            .protocols(listOf(protocol, Protocol.HTTP_1_1))
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

         *     represented as a combination of scheme, host and port. When empty, the origin is that of
         *     the `streamId`.
         * @param protocol an ALPN protocol, such as `h2`.
         * @param host an IP address or hostname.
         * @param port the IP port associated with the service.
         * @param maxAge time in seconds that this alternative is considered fresh.
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  10. CHANGELOG.md

        5.x upgrade as an opportunity to remove very obsolete APIs.
     *  Fix: Recover gracefully when Android's `NativeCrypto` crashes with `"ssl == null"`. This occurs
        when OkHttp retrieves ALPN state on a closed connection.
     *  Upgrade: [Kotlin 1.6.21][kotlin_1_6_21].
     *  Upgrade: [Okio 3.1.0][okio_3_1_0].
    
    
    ## Version 5.0.0-alpha.6
    
    _2022-03-14_
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
Back to top