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

Unified Diff: net/quic/quic_session.cc

Issue 969053004: Remove unused ability to disable flow control in QUIC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_CreateQuicConnection_method_86947282
Patch Set: Created 5 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_headers_stream_test.cc ('k') | net/quic/reliable_quic_stream.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 f102845b07bc236adb316fac7f1552ab3ba90986..993f4292d0635d75d43f73aaddc1f57b800f20ee 100644
--- a/net/quic/quic_session.cc
+++ b/net/quic/quic_session.cc
@@ -412,8 +412,7 @@ void QuicSession::CloseStreamInner(QuicStreamId stream_id,
// If we haven't received a FIN or RST for this stream, we need to keep track
// of the how many bytes the stream's flow controller believes it has
// received, for accurate connection level flow control accounting.
- if (!stream->HasFinalReceivedByteOffset() &&
- stream->flow_controller()->IsEnabled()) {
+ if (!stream->HasFinalReceivedByteOffset()) {
locally_closed_streams_highest_offset_[stream_id] =
stream->flow_controller()->highest_received_byte_offset();
}
« no previous file with comments | « net/quic/quic_headers_stream_test.cc ('k') | net/quic/reliable_quic_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698