Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getMaxFrameSize (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

      @Throws(IOException::class)
      fun applyAndAckSettings(peerSettings: Settings) {
        this.withLock {
          if (closed) throw IOException("closed")
          this.maxFrameSize = peerSettings.getMaxFrameSize(maxFrameSize)
          if (peerSettings.headerTableSize != -1) {
            hpackWriter.resizeHeaderTable(peerSettings.headerTableSize)
          }
          frameHeader(
            streamId = 0,
            length = 0,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

    import okio.BufferedSource
    import okio.ByteString
    import okio.Source
    import okio.Timeout
    
    /**
     * Reads HTTP/2 transport frames.
     *
     * This implementation assumes we do not send an increased [frame][Settings.getMaxFrameSize] to the
     * peer. Hence, we expect all frames to have a max length of [Http2.INITIAL_MAX_FRAME_SIZE].
     */
    class Http2Reader(
      /** Creates a frame reader with max header table size of 4096. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top