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

Unified Diff: net/quic/quic_chromium_client_session.cc

Issue 1660533002: Landing Recent QUIC changes until 01/26/2016 18:14 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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_arena_scoped_ptr_test.cc ('k') | net/quic/quic_chromium_client_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_chromium_client_session.cc
diff --git a/net/quic/quic_chromium_client_session.cc b/net/quic/quic_chromium_client_session.cc
index a1876d8c4aae6c53fbdbecd3dac25e45a831878b..dfd1bf9e6f890011f39ea5a0ce66c6c97ff39a44 100644
--- a/net/quic/quic_chromium_client_session.cc
+++ b/net/quic/quic_chromium_client_session.cc
@@ -395,7 +395,7 @@ int QuicChromiumClientSession::TryCreateStream(
return ERR_CONNECTION_CLOSED;
}
- if (GetNumOpenOutgoingStreams() < get_max_open_streams()) {
+ if (GetNumOpenOutgoingStreams() < max_open_outgoing_streams()) {
*stream = CreateOutgoingReliableStreamImpl();
return OK;
}
@@ -420,7 +420,7 @@ QuicChromiumClientSession::CreateOutgoingDynamicStream(SpdyPriority priority) {
DVLOG(1) << "Encryption not active so no outgoing stream created.";
return nullptr;
}
- if (GetNumOpenOutgoingStreams() >= get_max_open_streams()) {
+ if (GetNumOpenOutgoingStreams() >= max_open_outgoing_streams()) {
DVLOG(1) << "Failed to create a new outgoing stream. "
<< "Already " << GetNumOpenOutgoingStreams() << " open.";
return nullptr;
@@ -598,7 +598,7 @@ void QuicChromiumClientSession::SendRstStream(QuicStreamId id,
}
void QuicChromiumClientSession::OnClosedStream() {
- if (GetNumOpenOutgoingStreams() < get_max_open_streams() &&
+ if (GetNumOpenOutgoingStreams() < max_open_outgoing_streams() &&
!stream_requests_.empty() && crypto_stream_->encryption_established() &&
!goaway_received() && !going_away_ && connection()->connected()) {
StreamRequest* request = stream_requests_.front();
« no previous file with comments | « net/quic/quic_arena_scoped_ptr_test.cc ('k') | net/quic/quic_chromium_client_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698