- Sort Score
- Result 10 results
- Languages All
Results 21 - 26 of 26 for detect (0.22 sec)
-
docs/features/interceptors.md
``` INFO: Sending request http://www.publicobject.com/helloworld.txt on Connection{www.publicobject.com:80, proxy=DIRECT hostAddress=54.187.32.157 cipherSuite=none protocol=http/1.1} User-Agent: OkHttp Example Host: www.publicobject.com Connection: Keep-Alive Accept-Encoding: gzip
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 8.1K bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/AndroidLoggingTest.kt
"", ) }, ).containsExactly( "callStart: Request{method=GET, url=http://google.com/robots.txt}", "proxySelectStart: http://google.com/", "proxySelectEnd: [DIRECT]", "dnsStart: google.com", "callFailed: java.net.UnknownHostException: shortcircuit", ) // We should consider if these logs should retain Exceptions assertThat(logs.last().throwable).isNull() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 11:07:32 GMT 2024 - 3.2K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
managed both idle and active connections for HTTP/2, but only idle connections for HTTP/1.x. With this update the connection pool manages both idle and active connections for everything. OkHttp now detects and warns on connections that were allocated but never released, and will enforce HTTP/2 stream limits. This update also fixes `Call.cancel()` to not do I/O on the calling thread.
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) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
@ArgumentsSource(FileSystemParamProvider::class) fun recoverFromInitializationFailure(parameters: Pair<FileSystem, Boolean>) { setUp(parameters.first, parameters.second) // Add an uncommitted entry. This will get detected on initialization, and the cache will // attempt to delete the file. Do not explicitly close the cache here so the entry is left as // incomplete. val creator = cache.edit("k1")!!
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
it.flush() } } if (entry.lockingSourceCount > 0 || entry.currentEditor != null) { entry.zombie = true return true } } entry.currentEditor?.detach() // Prevent the edit from completing normally. for (i in 0 until valueCount) { fileSystem.deleteIfExists(entry.cleanFiles[i]) size -= entry.lengths[i] entry.lengths[i] = 0 }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 34.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
response1.close() // Force a fresh connection for the next request. client.connectionPool.evictAll() // Confirm that a second request also succeeds. This should detect caching problems. server.enqueue( MockResponse.Builder() .body("def") .socketPolicy(DisconnectAtEnd) .build(), ) val call2 = client.newCall(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 23.8K bytes - Viewed (0)