Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for requireMultiplexed (0.11 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        address: Address,
        call: RealCall,
        routes: List<Route>?,
        requireMultiplexed: Boolean,
      ): RealConnection? {
        for (connection in connections) {
          // In the first synchronized block, acquire the connection if it can satisfy this call.
          val acquired =
            connection.withLock {
              when {
                requireMultiplexed && !connection.isMultiplexed -> false
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        val result =
          connectionPool.callAcquirePooledConnection(
            doExtensiveHealthChecks = doExtensiveHealthChecks,
            address = address,
            call = call,
            routes = routes,
            requireMultiplexed = planToReplace != null && planToReplace.isReady,
          ) ?: return null
    
        // If we coalesced our connection, remember the replaced connection's route. That way if the
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top