Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for windowSizeIncrement (0.19 seconds)

  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) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

        inbound: Boolean,
        streamId: Int,
        length: Int,
        windowSizeIncrement: Long,
      ): String {
        val formattedType = formattedType(TYPE_WINDOW_UPDATE)
        val direction = if (inbound) "<<" else ">>"
        return format(
          "%s 0x%08x %5d %-13s %d",
          direction,
          streamId,
          length,
          formattedType,
          windowSizeIncrement,
        )
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.7K bytes
    - Click Count (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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 19.7K bytes
    - Click Count (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)
              }
            }
          }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 31.9K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

            val windowUpdate = peer.takeFrame()
            assertThat(windowUpdate.type).isEqualTo(Http2.TYPE_WINDOW_UPDATE)
            windowUpdateStreamIds.add(windowUpdate.streamId)
            assertThat(windowUpdate.windowSizeIncrement).isEqualTo(windowUpdateThreshold.toLong())
          }
          // connection
          assertThat(windowUpdateStreamIds).contains(0)
          // stream
          assertThat(windowUpdateStreamIds).contains(3)
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 75.5K bytes
    - Click Count (0)
Back to Top