- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for results (3.35 sec)
-
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
val response = client.newCall(request).execute() val results = response.use { moshi.adapter(HowsMySslResults::class.java).fromJson(response.body.string())!! } Platform.get().log("results $results", Platform.WARN) assertTrue(results.session_ticket_supported) assertEquals("Probably Okay", results.rating)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 27K bytes - Viewed (1) -
docs/changelogs/changelog_4x.md
been, leading to rare cases of infinite retries. Please upgrade to this release! * Fix: don't return stale DNS entries in `DnsOverHttps`. We were caching DNS results indefinitely rather than the duration specified in the response's cache-control header. * Fix: Verify certificate IP addresses in canonical form. When a server presents a TLS certificate
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/FastFallbackTest.kt
assertThat(listener.recordedEventTypes().filter { it == "ConnectFailed" }).hasSize(0) } @Test fun callIpv6WhenBothServersAreReachable() { // Flip DNS results to prefer IPv6. dnsResults = listOf( localhostIpv6, localhostIpv4, ) serverIpv4.enqueue( MockResponse(body = "unexpected call to IPv4"), )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
val result = mutableListOf<List<AttributeTypeAndValue>>() if (organizationalUnit != null) { result += listOf( AttributeTypeAndValue( type = ORGANIZATIONAL_UNIT_NAME, value = organizationalUnit, ), ) } result += listOf( AttributeTypeAndValue(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 21.6K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
if (planToReplace != null) { nextRouteToTry = planToReplace.route planToReplace.closeQuietly() } connectionUser.connectionAcquired(result) connectionUser.connectionConnectionAcquired(result) return ReusePlan(result) } /** Returns a plan for the first attempt at [route]. This throws if no plan is possible. */ @Throws(IOException::class) internal fun planConnectToRoute(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 12K bytes - Viewed (0) -
okhttp/src/test/resources/web-platform-test-urltestdata.txt
# Broken IPv6 http://[google.com] # Misc Unicode http://foo:\uD83D\******@****.***/bar s:http h:example.com p:/bar u:foo pass:%F0%9F%92%A9 # resolving a relative reference against an unknown scheme results in an error
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 14.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
@Throws(IOException::class) fun loopReader(response: Response) { try { listener.onOpen(this@RealWebSocket, response) while (receivedCloseCode == -1) { // This method call results in one or more onRead* methods being called on this thread. reader!!.processNextFrame() } } catch (e: Exception) { failWebSocket(e = e) } finally { finishReader() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 22.1K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
val failures = ArrayList<Exception>(2) val results = ArrayList<InetAddress>(5) buildRequest(hostname, networkRequests, results, failures, DnsRecordCodec.TYPE_A) if (includeIPv6) { buildRequest(hostname, networkRequests, results, failures, DnsRecordCodec.TYPE_AAAA) } executeRequests(hostname, networkRequests, results, failures) return results.ifEmpty { throwBestFailure(hostname, failures)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Mar 22 07:09:21 GMT 2024 - 9.8K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
"10000003b00102a032880f0290011faceb00c00000002", ), ) dns = buildLocalhost(bootstrapClient, true) val result = dns.lookup("google.com") assertThat(result.size).isEqualTo(2) assertThat(result).contains(address("157.240.1.18")) assertThat(result).contains(address("2a03:2880:f029:11:face:b00c:0:2")) val request1 = server.takeRequest() assertThat(request1.method).isEqualTo("GET")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 11K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
internal fun readInt(source: BufferedSource): Int { try { val result = source.readDecimalLong() val line = source.readUtf8LineStrict() if (result < 0L || result > Integer.MAX_VALUE || line.isNotEmpty()) { throw IOException("expected an int but was \"$result$line\"") } return result.toInt() } catch (e: NumberFormatException) { throw IOException(e.message)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 26.8K bytes - Viewed (0)