Index: net/quic/quic_protocol.h |
diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h |
index aa008c4b8e7c9a102b54c7dcc8d614a92950235a..416628ca7c8c113d662783d43947c72c5755c38b 100644 |
--- a/net/quic/quic_protocol.h |
+++ b/net/quic/quic_protocol.h |
@@ -346,6 +346,7 @@ enum QuicVersion { |
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. |
+ QUIC_VERSION_29 = 29, // Server and client honor QUIC_STREAM_NO_ERROR. |
}; |
// This vector contains QUIC versions which we currently support. |
@@ -356,7 +357,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_28, QUIC_VERSION_27, QUIC_VERSION_26, QUIC_VERSION_25}; |
+ QUIC_VERSION_29, QUIC_VERSION_28, QUIC_VERSION_27, QUIC_VERSION_26, |
+ QUIC_VERSION_25}; |
typedef std::vector<QuicVersion> QuicVersionVector; |
@@ -418,6 +420,8 @@ GetStartOfEncryptedData(QuicConnectionIdLength connection_id_length, |
QuicPacketNumberLength packet_number_length); |
enum QuicRstStreamErrorCode { |
+ // Complete response has been sent, sending a RST to ask the other endpoint |
+ // to stop sending request data without discarding the response. |
QUIC_STREAM_NO_ERROR = 0, |
// There was some error which halted stream processing. |