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

Unified Diff: net/quic/quic_session.cc

Issue 601663004: Remove support for QUIC_VERSION_16. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@QUIC_server_max_streams_76269911
Patch Set: Created 6 years, 3 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_protocol_test.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 42c05b612a239786888cdb06469ba2d2e045ed60..4bae2f5e59c0fff226184300b5fcbfd43a2c444d 100644
--- a/net/quic/quic_session.cc
+++ b/net/quic/quic_session.cc
@@ -487,10 +487,6 @@ void QuicSession::OnConfigNegotiated() {
set_max_open_streams(max_streams);
}
- if (version <= QUIC_VERSION_16) {
- return;
- }
-
if (version <= QUIC_VERSION_19) {
// QUIC_VERSION_17,18,19 don't support independent stream/session flow
// control windows.
@@ -782,12 +778,6 @@ void QuicSession::OnSuccessfulVersionNegotiation(const QuicVersion& version) {
GetCryptoStream()->flow_controller()->Disable();
headers_stream_->flow_controller()->Disable();
}
- for (DataStreamMap::iterator it = stream_map_.begin();
- it != stream_map_.end(); ++it) {
- if (version <= QUIC_VERSION_16) {
- it->second->flow_controller()->Disable();
- }
- }
}
} // namespace net
« no previous file with comments | « net/quic/quic_protocol_test.cc ('k') | net/quic/quic_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698