| Index: net/quic/core/quic_session_test.cc
|
| diff --git a/net/quic/core/quic_session_test.cc b/net/quic/core/quic_session_test.cc
|
| index 43e303a498c2d69841690f8cafe2dec626dd2ef0..84fd78b7595b7dd58d6b772062ac301d899e49f6 100644
|
| --- a/net/quic/core/quic_session_test.cc
|
| +++ b/net/quic/core/quic_session_test.cc
|
| @@ -1096,6 +1096,18 @@ TEST_P(QuicSessionTestServer, InvalidSessionFlowControlWindowInHandshake) {
|
| session_.OnConfigNegotiated();
|
| }
|
|
|
| +// Test negotiation of custom server initial flow control window.
|
| +TEST_P(QuicSessionTestServer, CustomFlowControlWindow) {
|
| + FLAGS_quic_large_ifw_options = true;
|
| + QuicTagVector copt;
|
| + copt.push_back(kIFW7);
|
| + QuicConfigPeer::SetReceivedConnectionOptions(session_.config(), copt);
|
| +
|
| + session_.OnConfigNegotiated();
|
| + EXPECT_EQ(192 * 1024u, QuicFlowControllerPeer::ReceiveWindowSize(
|
| + session_.flow_controller()));
|
| +}
|
| +
|
| TEST_P(QuicSessionTestServer, FlowControlWithInvalidFinalOffset) {
|
| // Test that if we receive a stream RST with a highest byte offset that
|
| // violates flow control, that we close the connection.
|
|
|