Index: net/quic/quic_protocol.h |
diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h |
index 800b3496a62aa5023fe707b4322fd981d4780994..f4dfa0d602b542ce68015b3c6602862907d1e07a 100644 |
--- a/net/quic/quic_protocol.h |
+++ b/net/quic/quic_protocol.h |
@@ -345,6 +345,7 @@ enum QuicVersion { |
// from QuicRstStreamFrame |
QUIC_VERSION_26 = 26, // In CHLO, send XLCT tag containing hash of leaf cert |
QUIC_VERSION_27 = 27, // Sends a nonce in the SHLO. |
+ QUIC_VERSION_28 = 28, // Receiver can refuse to create a requested stream. |
}; |
// This vector contains QUIC versions which we currently support. |
@@ -355,7 +356,8 @@ enum QuicVersion { |
// IMPORTANT: if you are adding to this list, follow the instructions at |
// http://sites/quic/adding-and-removing-versions |
static const QuicVersion kSupportedQuicVersions[] = { |
- QUIC_VERSION_27, QUIC_VERSION_26, QUIC_VERSION_25, QUIC_VERSION_24}; |
+ QUIC_VERSION_28, QUIC_VERSION_27, QUIC_VERSION_26, QUIC_VERSION_25, |
+ QUIC_VERSION_24}; |
typedef std::vector<QuicVersion> QuicVersionVector; |
@@ -435,6 +437,10 @@ enum QuicRstStreamErrorCode { |
// Closing stream locally, sending a RST to allow for proper flow control |
// accounting. Sent in response to a RST from the peer. |
QUIC_RST_ACKNOWLEDGEMENT, |
+ // Receiver refused to create the stream (because its limit on open streams |
+ // has been reached). The sender should retry the request later (using |
+ // another stream). |
+ QUIC_REFUSED_STREAM, |
// No error. Used as bound while iterating. |
QUIC_STREAM_LAST_ERROR, |