Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for writeBytesMaximum (0.09 sec)

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

      /** The total number of bytes produced by the application. */
      var writeBytesTotal = 0L
        internal set
    
      /** The total number of bytes permitted to be produced by incoming `WINDOW_UPDATE` frame. */
      var writeBytesMaximum: Long = connection.peerSettings.initialWindowSize.toLong()
        internal set
    
      /** Received headers yet to be [taken][takeHeaders]. */
      private val headersQueue = ArrayDeque<Headers>()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

            nextStreamId += 2
            stream = Http2Stream(streamId, this, outFinished, inFinished, null)
            flushHeaders = !out ||
              writeBytesTotal >= writeBytesMaximum ||
              stream.writeBytesTotal >= stream.writeBytesMaximum
            if (stream.isOpen) {
              streams[streamId] = stream
            }
          }
          if (associatedStreamId == 0) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

          .isEqualTo(Settings.DEFAULT_INITIAL_WINDOW_SIZE.toLong())
        assertThat(connection.writeBytesMaximum)
          .isEqualTo(Settings.DEFAULT_INITIAL_WINDOW_SIZE.toLong())
        assertThat(stream1.writeBytesTotal)
          .isEqualTo(Settings.DEFAULT_INITIAL_WINDOW_SIZE.toLong())
        assertThat(stream1.writeBytesMaximum)
          .isEqualTo(Settings.DEFAULT_INITIAL_WINDOW_SIZE.toLong())
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top