- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for connectTimeoutsAttemptsAlternateRoute (0.22 sec)
-
okhttp/src/test/java/okhttp3/CallTest.kt
/** * Make a request with two routes. The first route will time out because it's connecting to a * special address that never connects. The automatic retry will succeed. */ @Test fun connectTimeoutsAttemptsAlternateRoute() { val proxySelector = RecordingProxySelector() proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, TestUtil.UNREACHABLE_ADDRESS_IPV4)) proxySelector.proxies.add(server.toProxyAddress())
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0)