- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for 0x7FFFFFFFFFFFFFFF (0.06 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt
} else if (frameLength == PAYLOAD_LONG.toLong()) { frameLength = source.readLong() if (frameLength < 0L) { throw ProtocolException( "Frame length 0x${frameLength.toHexString()} > 0x7FFFFFFFFFFFFFFF", ) } } if (isControlFrame && frameLength > PAYLOAD_BYTE_MAX) { throw ProtocolException("Control frame must be less than ${PAYLOAD_BYTE_MAX}B.") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt
assertFailsWith<ProtocolException> { clientReader.processNextFrame() }.also { expected -> assertThat(expected.message).isEqualTo( "Frame length 0x8000000000000000 > 0x7FFFFFFFFFFFFFFF", ) } } @Test fun serverHelloTwoChunks() { data.write("818537fa213d7f9f4d".decodeHex()) // Hel data.write("5158".decodeHex()) // lo serverReader.processNextFrame()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.4K bytes - Viewed (0)