Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for writeBytesTotal (0.24 sec)

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

              writeTimeout.exitAndThrowIfTimedOut()
            }
    
            checkOutNotClosed() // Kick out if the stream was reset or closed while waiting.
            toWrite = minOf(writeBytesMaximum - writeBytesTotal, sendBuffer.size)
            writeBytesTotal += toWrite
            outFinished = outFinishedOnLastFrame && toWrite == sendBuffer.size
          }
    
          writeTimeout.enter()
          try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

            }
            streamId = nextStreamId
            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) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        // Check that we've filled the window for both the stream and also the connection.
        assertThat(connection.writeBytesTotal)
          .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)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top