Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(699)

Side by Side Diff: net/tools/quic/end_to_end_test.cc

Issue 444313002: Deprecate rolled out FLAGS_enable_quic_connection_flow_control_2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0807
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/reliable_quic_stream_test.cc ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h> 5 #include <stddef.h>
6 #include <string> 6 #include <string>
7 #include <sys/epoll.h> 7 #include <sys/epoll.h>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 net::IPAddressNumber ip; 190 net::IPAddressNumber ip;
191 CHECK(net::ParseIPLiteralToNumber("127.0.0.1", &ip)); 191 CHECK(net::ParseIPLiteralToNumber("127.0.0.1", &ip));
192 server_address_ = IPEndPoint(ip, 0); 192 server_address_ = IPEndPoint(ip, 0);
193 193
194 client_supported_versions_ = GetParam().client_supported_versions; 194 client_supported_versions_ = GetParam().client_supported_versions;
195 server_supported_versions_ = GetParam().server_supported_versions; 195 server_supported_versions_ = GetParam().server_supported_versions;
196 negotiated_version_ = GetParam().negotiated_version; 196 negotiated_version_ = GetParam().negotiated_version;
197 FLAGS_enable_quic_pacing = GetParam().use_pacing; 197 FLAGS_enable_quic_pacing = GetParam().use_pacing;
198 FLAGS_enable_quic_fec = GetParam().use_fec; 198 FLAGS_enable_quic_fec = GetParam().use_fec;
199 199
200 if (negotiated_version_ >= QUIC_VERSION_19) {
201 FLAGS_enable_quic_connection_flow_control_2 = true;
202 }
203 VLOG(1) << "Using Configuration: " << GetParam(); 200 VLOG(1) << "Using Configuration: " << GetParam();
204 201
205 client_config_.SetDefaults(); 202 client_config_.SetDefaults();
206 server_config_.SetDefaults(); 203 server_config_.SetDefaults();
207 204
208 // Use different flow control windows for client/server. 205 // Use different flow control windows for client/server.
209 client_config_.SetInitialFlowControlWindowToSend( 206 client_config_.SetInitialFlowControlWindowToSend(
210 2 * kInitialSessionFlowControlWindowForTest); 207 2 * kInitialSessionFlowControlWindowForTest);
211 client_config_.SetInitialStreamFlowControlWindowToSend( 208 client_config_.SetInitialStreamFlowControlWindowToSend(
212 2 * kInitialStreamFlowControlWindowForTest); 209 2 * kInitialStreamFlowControlWindowForTest);
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after
1384 QuicSession* session = dispatcher->session_map().begin()->second; 1381 QuicSession* session = dispatcher->session_map().begin()->second;
1385 EXPECT_EQ(0u, QuicSessionPeer::GetLocallyClosedStreamsHighestOffset( 1382 EXPECT_EQ(0u, QuicSessionPeer::GetLocallyClosedStreamsHighestOffset(
1386 session).size()); 1383 session).size());
1387 server_thread_->Resume(); 1384 server_thread_->Resume();
1388 } 1385 }
1389 1386
1390 } // namespace 1387 } // namespace
1391 } // namespace test 1388 } // namespace test
1392 } // namespace tools 1389 } // namespace tools
1393 } // namespace net 1390 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/reliable_quic_stream_test.cc ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698