Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ACK (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.acceptFrame() // HEADERS
        peer.play()
        val connection = connect(peer)
    
        // Verify the peer received the second ACK.
        val ackFrame = peer.takeFrame()
        assertThat(ackFrame.type).isEqualTo(Http2.TYPE_SETTINGS)
        assertThat(ackFrame.streamId).isEqualTo(0)
        assertThat(ackFrame.ack).isTrue()
    
        // This stream was created *after* the connection settings were adjusted.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(countFrames(logs, "FINE: << 0x00000000     8 PING          "))
          .isEqualTo(1)
        assertThat(countFrames(logs, "FINE: >> 0x00000000     8 PING          ACK"))
          .isEqualTo(1)
        assertThat(countFrames(logs, "FINE: << 0x00000000     8 PING          ACK"))
          .isEqualTo(1)
      }
    
      @Test
      fun missingPongsFailsConnection() {
        if (protocol === Protocol.HTTP_2) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 67.4K bytes
    - Viewed (0)
Back to top