Searched refs:INITIAL_MAX_FRAME_SIZE (Results 1 – 4 of 4) sorted by relevance
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | Http2Test.java | 123 writeMedium(frame, Http2.INITIAL_MAX_FRAME_SIZE); in headersFrameThenContinuation() 127 frame.write(headerBlock, Http2.INITIAL_MAX_FRAME_SIZE); in headersFrameThenContinuation() 192 writeMedium(frame, Http2.INITIAL_MAX_FRAME_SIZE); in pushPromiseThenContinuation() 197 frame.write(headerBlock, Http2.INITIAL_MAX_FRAME_SIZE - 4); in pushPromiseThenContinuation() 375 final byte[] expectedData = new byte[Http2.INITIAL_MAX_FRAME_SIZE]; in maxLengthDataFrame() 392 assertEquals(Http2.INITIAL_MAX_FRAME_SIZE, length); in maxLengthDataFrame() 403 byte[] expectedData = new byte[Http2.INITIAL_MAX_FRAME_SIZE]; in compressedDataFrameWhenSettingDisabled() 642 writer.frameHeader(streamId, Http2.INITIAL_MAX_FRAME_SIZE, Http2.TYPE_DATA, FLAG_NONE); in streamIdHasReservedBit()
|
D | Http2ConnectionTest.java | 444 String longString = repeat('a', Http2.INITIAL_MAX_FRAME_SIZE + 1);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
D | Http2.java | 53 static final int INITIAL_MAX_FRAME_SIZE = 0x4000; // 16384 field in Http2 131 if (length < 0 || length > INITIAL_MAX_FRAME_SIZE) { in nextFrame() 292 if (value < INITIAL_MAX_FRAME_SIZE || value > 16777215) { in readSettings() 376 this.maxFrameSize = INITIAL_MAX_FRAME_SIZE; in Writer()
|
D | FramedConnection.java | 162 peerSettings.set(Settings.MAX_FRAME_SIZE, 0, Http2.INITIAL_MAX_FRAME_SIZE); in FramedConnection()
|