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

Unified Diff: net/quic/quic_protocol.h

Issue 339803004: Introduce QUIC_VERSION_20: allowing endpoints to set different (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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_flow_controller_test.cc ('k') | net/quic/quic_protocol.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_protocol.h
diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h
index eed756b3800a2525ffb948e6bf51007d556a1c37..e623a83f92fafe1e768f15c31377660b8dc62549 100644
--- a/net/quic/quic_protocol.h
+++ b/net/quic/quic_protocol.h
@@ -64,7 +64,7 @@ const QuicByteCount kDefaultTCPMSS = 1460;
const size_t kDefaultInitialWindow = 10;
const uint32 kMaxInitialWindow = 100;
-// Default size of initial flow control window.
+// Default size of initial flow control window, for both stream and session.
const uint32 kDefaultFlowControlSendWindow = 16 * 1024; // 16 KB
// Maximum size of the congestion window, in packets, for TCP congestion control
@@ -279,7 +279,8 @@ enum QuicVersion {
QUIC_VERSION_16 = 16,
QUIC_VERSION_17 = 17,
QUIC_VERSION_18 = 18,
- QUIC_VERSION_19 = 19, // Current version.
+ QUIC_VERSION_19 = 19,
+ QUIC_VERSION_20 = 20, // Current version.
};
// This vector contains QUIC versions which we currently support.
@@ -289,7 +290,8 @@ enum QuicVersion {
//
// IMPORTANT: if you are addding to this list, follow the instructions at
// http://sites/quic/adding-and-removing-versions
-static const QuicVersion kSupportedQuicVersions[] = {QUIC_VERSION_19,
+static const QuicVersion kSupportedQuicVersions[] = {QUIC_VERSION_20,
+ QUIC_VERSION_19,
QUIC_VERSION_18,
QUIC_VERSION_17,
QUIC_VERSION_16,
« no previous file with comments | « net/quic/quic_flow_controller_test.cc ('k') | net/quic/quic_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698