- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for tofalse (0.14 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
if (exchange != this.exchange) return e // This exchange was detached violently! var bothStreamsDone = false var callDone = false this.withLock { if (requestDone && requestBodyOpen || responseDone && responseBodyOpen) { if (requestDone) requestBodyOpen = false if (responseDone) responseBodyOpen = false bothStreamsDone = !requestBodyOpen && !responseBodyOpen
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 17.9K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt
val truncated: Boolean, ) class InFrame(val sequence: Int, val reader: Http2Reader) : Http2Reader.Handler { @JvmField var type = -1 var clearPrevious = false @JvmField var outFinished = false @JvmField var inFinished = false @JvmField var streamId = 0 @JvmField var associatedStreamId = 0 @JvmField var errorCode: ErrorCode? = null
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 8.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt
if (w > Int.MAX_VALUE / scaleW) return false // Prevent overflow. w *= scaleW } bias = adapt(i - oldi, codePoints.size + 1, oldi == 0) val deltaN = i / (codePoints.size + 1) if (n > Int.MAX_VALUE - deltaN) return false // Prevent overflow. n += deltaN i %= (codePoints.size + 1) if (n > 0x10ffff) return false // Not a valid code point. codePoints.add(i, n)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 03 03:04:50 GMT 2024 - 8.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt
if (http2Connection == null) return false // 2. The routes must share an IP address. if (routes == null || !routeMatchesAny(routes)) return false // 3. This connection's server certificate's must cover the new host. if (address.hostnameVerifier !== OkHostnameVerifier) return false if (!supportsUrl(address.url)) return false // 4. Certificate pinning must match the host.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 15.4K bytes - Viewed (0) -
okhttp-android/build.gradle.kts
// Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" buildFeatures { buildConfig = false } testOptions { unitTests { isIncludeAndroidResources = true } targetSdk = 34 } } compileOptions { targetCompatibility(JavaVersion.VERSION_11)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 11:07:32 GMT 2024 - 2K bytes - Viewed (0) -
samples/tlssurvey/build.gradle.kts
implementation(libs.squareup.moshi) implementation(libs.squareup.moshi.kotlin) ksp("com.squareup.moshi:moshi-kotlin-codegen:1.15.1") } tasks.compileJava { options.isWarnings = false
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) -
okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt
platform.expectFailureFromJdkVersion(PlatformVersion.majorVersion + 1) } @Test fun failureCase() { platform.expectFailureFromJdkVersion(PlatformVersion.majorVersion) check(false) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 1.3K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
logger.log(headers.name(i) + ": " + value) } private fun bodyHasUnknownEncoding(headers: Headers): Boolean { val contentEncoding = headers["Content-Encoding"] ?: return false return !contentEncoding.equals("identity", ignoreCase = true) && !contentEncoding.equals("gzip", ignoreCase = true) } private fun bodyIsStreaming(response: Response): Boolean {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 11.2K bytes - Viewed (1) -
docs/changelogs/changelog_4x.md
val handshakeCertificates = HandshakeCertificates.Builder() .heldCertificate(heldCertificate) .build() val server = MockWebServer() server.useHttps(handshakeCertificates.sslSocketFactory(), false) ``` Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`. * Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by
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/internal/connection/RouteSelectorTest.kt
assertThat(selection2.hasNext()).isFalse() // The second selection will contain all failed routes. val selection3 = routeSelector.next() assertThat(selection3.next()).isEqualTo(regularRoutes[0]) assertThat(selection3.hasNext()).isFalse() assertThat(routeSelector.hasNext()).isFalse() } @Test fun failedRouteWithMultipleProxies() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Mar 06 17:33:38 GMT 2024 - 20.8K bytes - Viewed (0)