- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 30 for ALPN (0.02 sec)
-
okhttp/build.gradle.kts
implementation(libs.junit.vintage.engine) implementation(libs.robolectric) } } } } if (platform == "jdk8alpn") { // Add alpn-boot on Java 8 so we can use HTTP/2 without a stable API. val alpnBootVersion = alpnBootVersion() if (alpnBootVersion != null) { val alpnBootJar = configurations.detachedConfiguration(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 03:59:03 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
will use reflection to extract the `TrustManager` from the `SSLSocketFactory`. * New: Support prerelease Java 9. This gets ALPN from the platform rather than relying on the alpn-boot bootclasspath override. * New: `HttpLoggingInterceptor` now logs connection failures. * New: Upgrade to Okio 1.8.0. ```xml <dependency>
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
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_
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
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. */ public var protocolNegotiationEnabled: Boolean = true /** * The protocols supported by ALPN on incoming HTTPS connections in order of preference. The list
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* * If multiple protocols are specified, [ALPN][alpn] will be used to negotiate a transport. * Protocol negotiation is only attempted for HTTPS URLs. * * [Protocol.HTTP_1_0] is not supported in this set. Requests are initiated with `HTTP/1.1`. If * the server responds with `HTTP/1.0`, that will be exposed by [Response.protocol]. * * [alpn]: http://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 51.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/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. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/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))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 24.8K bytes - Viewed (0) -
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_
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 31.6K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
} return result.toString() } } /** * 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) { client = client .newBuilder() .sslSocketFactory(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
} catch (e: IOException) { RecordedResponse(request, null, null, null, e) } } /** * 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))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0)