| 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");
|
|
|