- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for poodle (0.14 sec)
-
docs/changelogs/changelog_4x.md
## Version 4.2.1 _2019-10-02_ * Fix: In 4.1.0 we introduced a performance regression that prevented connections from being pooled in certain situations. We have good test coverage for connection pooling but we missed this because it only occurs if you have proxy configured and you share a connection pool among multiple `OkHttpClient` instances.
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) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
expected.assertSuppressed { throwables: List<Throwable>? -> assertThat(throwables!!.size).isEqualTo(1) } } } /** * When a pooled connection fails, don't blame the route. Otherwise pooled connection failures can * cause unnecessary SSL fallbacks. * * https://github.com/square/okhttp/issues/515 */ @Test fun sslFallbackNotUsedWhenRecycledConnectionFails() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
samples/tlssurvey/build.gradle.kts
plugins { kotlin("jvm") application id("com.google.devtools.ksp").version("1.9.23-1.0.20") } application { mainClass.set("okhttp3.survey.RunSurveyKt") } dependencies { implementation(projects.okhttp) implementation(projects.okhttpCoroutines) implementation(libs.conscrypt.openjdk) implementation("com.squareup.retrofit2:retrofit:2.11.0") implementation("com.squareup.retrofit2:converter-moshi:2.11.0")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 08 02:48:17 GMT 2024 - 617 bytes - Viewed (0) -
gradle/libs.versions.toml
conscrypt-openjdk = { module = "org.conscrypt:conscrypt-openjdk-uber", version.ref = "org-conscrypt" } eclipseOsgi = "org.eclipse.platform:org.eclipse.osgi:3.19.0" findbugs-jsr305 = "com.google.code.findbugs:jsr305:3.0.2" gradlePlugin-android = "com.android.tools.build:gradle:8.2.0" gradlePlugin-androidJunit5 = "de.mannodermaus.gradle.plugins:android-junit5:1.10.0.0"
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 22 19:34:32 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp-dnsoverhttps/README.md
val appCache = Cache(File("cacheDir", "okhttpcache"), 10 * 1024 * 1024) val bootstrapClient = OkHttpClient.Builder().cache(appCache).build() val dns = DnsOverHttps.Builder().client(bootstrapClient) .url("https://dns.google/dns-query".toHttpUrl()) .bootstrapDnsHosts(InetAddress.getByName("8.8.4.4"), InetAddress.getByName("8.8.8.8")) .build() val client = bootstrapClient.newBuilder().dns(dns).build() ```
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 740 bytes - Viewed (4) -
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
.isEqualTo("http://host/?=[]:;%22~%7C?%23@%5E/$%25*") } @Test fun topPrivateDomain() { assertThat("https://google.com".toHttpUrl().topPrivateDomain()) .isEqualTo("google.com") assertThat("https://adwords.google.co.uk".toHttpUrl().topPrivateDomain()) .isEqualTo("google.co.uk") assertThat("https://栃.栃木.jp".toHttpUrl().topPrivateDomain()) .isEqualTo("xn--ewv.xn--4pvxs.jp")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/ExternalHttp2Example.kt
val client = OkHttpClient.Builder() .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)) .build() val call = client.newCall( Request.Builder() .url("https://www.google.ca/") .build(), ) val response = call.execute() try { println(response.code) println("PROTOCOL ${response.protocol}") var line: String?
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt
* of which connections to keep open for future use. * * @constructor Create a new connection pool with tuning parameters appropriate for a single-user * application. The tuning parameters in this pool are subject to change in future OkHttp releases. * Currently this pool holds up to 5 idle connections which will be evicted after 5 minutes of * inactivity. */ class ConnectionPool internal constructor(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 03 20:39:41 GMT 2024 - 5.6K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt
*/ package okhttp3.survey import okhttp3.survey.types.Client import okhttp3.survey.types.SuiteId /** * Organizes information on SSL cipher suite inclusion and precedence for this spreadsheet. * https://docs.google.com/spreadsheets/d/1C3FdZSlCBq_-qrVwG1KDIzNIB3Hyg_rKAcgmSzOsHyQ/edit#gid=0 */ class CipherSuiteSurvey( val clients: List<Client>, val ianaSuites: IanaSuites, val orderBy: List<SuiteId>, ) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Apr 02 01:44:15 GMT 2024 - 1.6K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt
class ApacheHttpClientHttp2Test { @Test fun testHttp2() { val client = HttpAsyncClients.createHttp2Default() client.use { client -> client.start() val request = SimpleHttpRequests.get("https://google.com/robots.txt") val response = client.execute(request, LoggingCallback).get() println("Protocol ${response.version}") println("Response ${response.code}")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.6K bytes - Viewed (0)