- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for sameHostAndPort (1.61 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
noNewExchangesEvent = !candidate.noNewExchanges candidate.noNewExchanges = true call.releaseConnectionNoEvents() } candidate.noNewExchanges || !sameHostAndPort(candidate.route().address.url) -> { call.releaseConnectionNoEvents() } else -> null } }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 12K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt
return result } override fun hasNext(failedConnection: RealConnection?): Boolean = deferredPlans.isNotEmpty() || nextPlanIndex < plans.size || autoGeneratePlans override fun sameHostAndPort(url: HttpUrl): Boolean = url.host == address.url.host && url.port == address.url.port override fun close() { factory.close() } inner class FakePlan( val id: Int, ) : RoutePlanner.Plan {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 6.1K bytes - Viewed (0)