Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for fastFallback (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt

                  socketReadTimeoutMillis = socketReadTimeoutMillis,
                  pingIntervalMillis = pingIntervalMillis,
                  retryOnConnectionFailure = retryOnConnectionFailure,
                  fastFallback = fastFallback,
                  address = address,
                  routeDatabase = routeDatabase,
                  connectionUser = user,
                ),
              ),
              taskRunner,
            )
          },
        ),
      )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

          socketReadTimeoutMillis = chain.readTimeoutMillis,
          pingIntervalMillis = client.pingIntervalMillis,
          retryOnConnectionFailure = client.retryOnConnectionFailure,
          fastFallback = client.fastFallback,
          address = address,
          routeDatabase = client.routeDatabase,
          connectionUser =
            CallConnectionUser(
              call,
              client.connectionPool.delegate.connectionListener,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

     */
    class RouteSelector(
      private val address: Address,
      private val routeDatabase: RouteDatabase,
      private val connectionUser: ConnectionUser,
      private val fastFallback: Boolean,
    ) {
      // State for negotiating the next proxy to use.
      private var proxies = emptyList<Proxy>()
      private var nextProxyIndex: Int = 0
    
      // State for negotiating the next socket address to use.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

          }
        }
        responseBody.close()
      }
    
      @Test
      fun forciblyStopDispatcher() {
        client =
          client
            .newBuilder()
            .fastFallback(true)
            .build()
    
        val callFailure = CompletableFuture<Exception>()
    
        server.enqueue(
          MockResponse()
            .setSocketPolicy(SocketPolicy.STALL_SOCKET_AT_START),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top