Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for windowSizeIncrement (0.08 sec)

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

      /**
       * Inform peer that an additional `windowSizeIncrement` bytes can be sent on `streamId`, or the
       * connection if `streamId` is zero.
       */
      @Throws(IOException::class)
      fun windowUpdate(
        streamId: Int,
        windowSizeIncrement: Long,
      ) {
        withLock {
          if (closed) throw IOException("closed")
          require(windowSizeIncrement != 0L && windowSizeIncrement <= 0x7fffffffL) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("windowSizeIncrement == 0 || windowSizeIncrement > 0x7fffffffL: 0")
        }
        assertFailsWith<IllegalArgumentException> {
          windowUpdate(0x80000000L)
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("windowSizeIncrement == 0 || windowSizeIncrement > 0x7fffffffL: 2147483648")
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

          errorCode: ErrorCode,
          debugData: ByteString,
        )
    
        /**
         * Notifies that an additional `windowSizeIncrement` bytes can be sent on `streamId`, or the
         * connection if `streamId` is zero.
         */
        fun windowUpdate(
          streamId: Int,
          windowSizeIncrement: Long,
        )
    
        /**
         * Called when reading a headers or priority frame. This may be used to change the stream's
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

          streamId: Int,
          windowSizeIncrement: Long,
        ) {
          if (streamId == 0) {
            withLock {
              writeBytesMaximum += windowSizeIncrement
              notifyAll()
            }
          } else {
            val stream = getStream(streamId)
            if (stream != null) {
              stream.withLock {
                stream.addBytesToWriteWindow(windowSizeIncrement)
              }
            }
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top