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

Unified Diff: net/quic/quic_session.cc

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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_server_session.cc ('k') | net/quic/quic_session_test.cc » ('j') | 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 596be40d57ec51779f97ded7cb753549b1b6460f..3c00e8ba1511ea99be144461726da0958142ab05 100644
--- a/net/quic/quic_session.cc
+++ b/net/quic/quic_session.cc
@@ -756,8 +756,7 @@ void QuicSession::PostProcessAfterData() {
STLDeleteElements(&closed_streams_);
closed_streams_.clear();
- if (FLAGS_close_quic_connection_unfinished_streams_2 &&
- connection()->connected() &&
+ if (connection()->connected() &&
locally_closed_streams_highest_offset_.size() > max_open_streams_) {
// A buggy client may fail to send FIN/RSTs. Don't tolerate this.
connection_->SendConnectionClose(QUIC_TOO_MANY_UNFINISHED_STREAMS);
« no previous file with comments | « net/quic/quic_server_session.cc ('k') | net/quic/quic_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698