- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 81 for failed (0.17 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
if (e is ConnectionShutdownException) { throw e // No request was sent so there's no response to read. } if (!exchange.hasFailure) { throw e // Don't attempt to read the response; we failed to send the request. } sendRequestException = e } try { if (responseBuilder == null) { responseBuilder = exchange.readResponseHeaders(expectContinue = false)!!
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.3K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt
if (yieldBeforeTcpConnectReturns) { taskFaker.yield() } return when { tcpConnectThrowable != null -> { events += "plan $id TCP connect failed" ConnectResult(this, nextPlan = connectTcpNextPlan, throwable = tcpConnectThrowable) } canceled -> { events += "plan $id TCP connect canceled"
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 24 04:40:49 GMT 2024 - 6.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallHandshakeTest.kt
*expectedConnectionCipherSuites.toTypedArray(), ) } @Test fun clientOrderApplied() { // // Flaky in CI // // CallHandshakeTest[jvm] > defaultOrderMaintained()[jvm] FAILED // // org.bouncycastle.tls.TlsFatalAlertReceived: handshake_failure(40) // platform.assumeNotBouncyCastle() val client = makeClient() makeRequest(client)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt
private var nextProxyIndex: Int = 0 // State for negotiating the next socket address to use. private var inetSocketAddresses = emptyList<InetSocketAddress>() // State for negotiating failed routes private val postponedRoutes = mutableListOf<Route>() init { resetNextProxy(address.url, address.proxy) } /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Mar 06 17:33:38 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
extensionContext: ExtensionContext, ) { var failed = false try { invocation.proceed() } catch (e: TestAbortedException) { throw e } catch (e: Throwable) { failed = true rethrowIfNotExpected(e) } finally { resetPlatform() } if (!failed) { failIfExpected() } } fun setupPlatform() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Mar 22 07:09:21 GMT 2024 - 10.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RouteFailureTest.kt
socketFactory[proxyServer2] = server2.inetSocketAddress println("\n\nRequest to ${server2.inetSocketAddress}") executeSynchronously(request) .apply { // We may have a single failed request if not clean shutdown if (cleanShutdown) { assertSuccessful() assertCode(200) assertThat(server2.requestCount).isEqualTo(1) } else {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 11.9K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/DotListener.kt
) { if (!testIdentifier.isContainer) { when (testExecutionResult.status!!) { TestExecutionResult.Status.ABORTED -> printStatus("-") TestExecutionResult.Status.FAILED -> printStatus("F") TestExecutionResult.Status.SUCCESSFUL -> printStatus(".") } } } override fun testPlanExecutionFinished(testPlan: TestPlan) { originalSystemErr?.println() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.2K bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/AndroidLoggingTest.kt
assertThat(logs.map { it.type }).containsOnly(Log.INFO) assertThat(logs.map { it.msg }).containsExactly( "--> GET http://google.com/robots.txt", "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit", ) // We should consider if these logs should retain Exceptions assertThat(logs.last().throwable).isNull() } @Test fun testLoggingEventListener() {
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) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
), ) .assertLogMatch( Regex( """callFailed: \S+(?:SSLProtocolException|SSLHandshakeException|TlsFatalAlert): (?:Unexpected handshake message: client_hello|Handshake message sequence violation, 1|Read error|Handshake failed|unexpected_message\(10\)).*""", ), )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Jan 14 10:20:09 GMT 2024 - 10.2K bytes - Viewed (0)