Home
last modified time | relevance | path

Searched refs:newMaxFrameSize (Results 1 – 2 of 2) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
DHttp2ConnectionTest.java163 int newMaxFrameSize = 0x4001;
165 settings.set(Settings.MAX_FRAME_SIZE, 0, newMaxFrameSize);
170 assertEquals(newMaxFrameSize, connection.peerSettings.getMaxFrameSize(-1));
171 assertEquals(newMaxFrameSize, connection.frameWriter.maxDataLength());
DHttp2Test.java626 int newMaxFrameSize = 16777215; in ackSettingsAppliesMaxFrameSize() local
630 writer.ackSettings(new Settings().set(Settings.MAX_FRAME_SIZE, 0, newMaxFrameSize)); in ackSettingsAppliesMaxFrameSize()
632 assertEquals(newMaxFrameSize, writer.maxDataLength()); in ackSettingsAppliesMaxFrameSize()
633 writer.frameHeader(0, newMaxFrameSize, Http2.TYPE_DATA, FLAG_NONE); in ackSettingsAppliesMaxFrameSize()