- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for END_STREAM (0.06 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt
private val BINARY = Array(256) { format("%8s", Integer.toBinaryString(it)).replace(' ', '0') } init { FLAGS[FLAG_NONE] = "" FLAGS[FLAG_END_STREAM] = "END_STREAM" val prefixFlags = intArrayOf(FLAG_END_STREAM) FLAGS[FLAG_PADDED] = "PADDED" for (prefixFlag in prefixFlags) { FLAGS[prefixFlag or FLAG_PADDED] = FLAGS[prefixFlag] + "|PADDED" }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 5.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
// does. So we can't assume the client's empty DATA will be logged first. assertThat(countFrames(logs, "FINE: >> 0x00000003 0 DATA END_STREAM")) .isEqualTo(1) assertThat(countFrames(logs, "FINE: >> 0x00000003 3 DATA END_STREAM")) .isEqualTo(1) } @Test fun pingsTransmitted() { // Ping every 500 ms, starting at 500 ms. client = client
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 67.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
outFinished = errorCode == null } if (!sink.finished) { // We have 0 or more frames of data, and 0 or more frames of trailers. We need to send at // least one frame with the END_STREAM flag set. That must be the last frame, and the // trailers must be sent after all of the data. val hasData = sendBuffer.size > 0L val hasTrailers = trailers != null when {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 07 18:57:05 GMT 2025 - 22.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
val ping = peer.takeFrame() assertThat(ping.type).isEqualTo(Http2.TYPE_PING) } @Test fun serverWritesTrailersWithData() { // We buffer some outbound data and headers and confirm that the END_STREAM flag comes with the // headers (and not with the data). // Write the mocking script. for the client peer.setClient(true) // Write the mocking script.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0)