- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for unacknowledgedPingFailsConnection (0.33 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt
client.processNextFrame() // Pong. taskFaker.advanceUntil(ns(1500L)) server.processNextFrame() // Ping. client.processNextFrame() // Pong. } @Test fun unacknowledgedPingFailsConnection() { client.initWebSocket(random, pingIntervalMillis = 500) // Don't process the ping and pong frames! taskFaker.advanceUntil(ns(500L)) taskFaker.advanceUntil(ns(1000L))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 01:59:58 UTC 2024 - 18.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
* responding to pings. The client should give up when attempting to send its 2nd ping, at about * 1000 ms. */ @Test fun unacknowledgedPingFailsConnection() { assumeNotWindows() client = client.newBuilder() .pingInterval(Duration.ofMillis(500)) .build() // Stall in onOpen to prevent pongs from being sent.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 35.2K bytes - Viewed (0)