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

Unified Diff: net/quic/quic_chromium_client_session_test.cc

Issue 1651153005: changes QUIC negotiation about max open streams which effects server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@113042237
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_chromium_client_session.cc ('k') | net/quic/quic_client_session_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_chromium_client_session_test.cc
diff --git a/net/quic/quic_chromium_client_session_test.cc b/net/quic/quic_chromium_client_session_test.cc
index 9a2fac48d27da236a6a3bf814d73afe880f2063d..c00251ce3fc1cfb5652e5bafac28c60bfeab27f8 100644
--- a/net/quic/quic_chromium_client_session_test.cc
+++ b/net/quic/quic_chromium_client_session_test.cc
@@ -155,7 +155,7 @@ TEST_P(QuicChromiumClientSessionTest, MaxNumStreams) {
Initialize();
CompleteCryptoHandshake();
- const size_t kMaxOpenStreams = session_->get_max_open_streams();
+ const size_t kMaxOpenStreams = session_->max_open_outgoing_streams();
std::vector<QuicChromiumClientStream*> streams;
for (size_t i = 0; i < kMaxOpenStreams; i++) {
@@ -190,7 +190,7 @@ TEST_P(QuicChromiumClientSessionTest, MaxNumStreamsViaRequest) {
Initialize();
CompleteCryptoHandshake();
- const size_t kMaxOpenStreams = session_->get_max_open_streams();
+ const size_t kMaxOpenStreams = session_->max_open_outgoing_streams();
std::vector<QuicChromiumClientStream*> streams;
for (size_t i = 0; i < kMaxOpenStreams; i++) {
« no previous file with comments | « net/quic/quic_chromium_client_session.cc ('k') | net/quic/quic_client_session_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698