Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addressStates (0.07 sec)

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

        // so would violate a policy, unless it's OLD.
        val addressStates = this.addressStates
        for (state in addressStates.values) {
          state.concurrentCallCapacity = 0
        }
        for (connection in connections) {
          val addressState = addressStates[connection.route.address] ?: continue
          connection.withLock {
            addressState.concurrentCallCapacity += connection.allocationLimit
          }
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top