- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for PROTOCOL_ERROR (0.19 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
peer.sendFrame().settings(Settings()) peer.acceptFrame() // ACK peer.acceptFrame() // SYN_STREAM 3 peer.acceptFrame() // SYN_STREAM 5 peer.sendFrame().goAway(3, ErrorCode.PROTOCOL_ERROR, EMPTY_BYTE_ARRAY) peer.acceptFrame() // PING peer.sendFrame().ping(true, Http2Connection.AWAIT_PING, 0) peer.acceptFrame() // DATA STREAM 3 peer.play() // Play it back.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
val executeAtNanos = System.nanoTime() assertFailsWith<StreamResetException> { call.execute() }.also { expected -> assertThat(expected.message).isEqualTo( "stream was reset: PROTOCOL_ERROR", ) } val elapsedUntilFailure = System.nanoTime() - executeAtNanos assertThat(TimeUnit.NANOSECONDS.toMillis(elapsedUntilFailure).toDouble()) .isCloseTo(1000.0, 250.0)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0)