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

Unified Diff: net/quic/quic_session.cc

Issue 1755663002: Deprecate --gfe2_reloadable_flag_quic_distinguish_incoming_outgoing_streams. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@115339832
Patch Set: Revert to Patch Set 1 Created 4 years, 10 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_flags.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_session.cc
diff --git a/net/quic/quic_session.cc b/net/quic/quic_session.cc
index 8a9b92a21cf89ce0e1fca275fd6825f823b14b20..d8ec06c2f21273da9eb764c6eb96fba5fbcd0169 100644
--- a/net/quic/quic_session.cc
+++ b/net/quic/quic_session.cc
@@ -675,12 +675,7 @@ ReliableQuicStream* QuicSession::GetOrCreateDynamicStream(
}
// Check if the new number of open streams would cause the number of
// open streams to exceed the limit.
- size_t num_open_incoming_streams =
- FLAGS_quic_distinguish_incoming_outgoing_streams
- ? GetNumOpenIncomingStreams()
- : dynamic_stream_map_.size() - draining_streams_.size() +
- locally_closed_streams_highest_offset_.size();
- if (num_open_incoming_streams >= max_open_incoming_streams()) {
+ if (GetNumOpenIncomingStreams() >= max_open_incoming_streams()) {
if (connection()->version() <= QUIC_VERSION_27) {
connection()->SendConnectionCloseWithDetails(
QUIC_TOO_MANY_OPEN_STREAMS, "Old style stream rejection");
« no previous file with comments | « net/quic/quic_flags.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698