Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getEnablePush (0.04 sec)

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

            ) {
              // No clearPrevious in HTTP/2.
              assertThat(clearPrevious).isFalse()
              assertThat(settings.headerTableSize).isEqualTo(reducedTableSizeBytes)
              assertThat(settings.getEnablePush(true)).isFalse()
            }
          },
        )
      }
    
      @Test fun readSettingsFrameInvalidPushValue() {
        writeMedium(frame, 6) // 2 for the code and 4 for the value
        frame.writeByte(Http2.TYPE_SETTINGS)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        val connection = connectWithSettings(client, settings)
    
        // verify the peer's settings were read and applied.
        assertThat(connection.peerSettings.getEnablePush(true)).isFalse()
      }
    
      @Test fun peerIncreasesMaxFrameSize() {
        val newMaxFrameSize = 0x4001
        val settings = Settings()
        settings[Settings.MAX_FRAME_SIZE] = newMaxFrameSize
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
Back to top