Index: net/quic/core/quic_protocol.h |
diff --git a/net/quic/core/quic_protocol.h b/net/quic/core/quic_protocol.h |
index 2f76cf53d649d40da0456b4e73e835142d7007e7..ff12e4c211c8f64c566617c289922dac57c56ea4 100644 |
--- a/net/quic/core/quic_protocol.h |
+++ b/net/quic/core/quic_protocol.h |
@@ -75,6 +75,12 @@ const uint32_t kMinimumFlowControlSendWindow = 16 * 1024; // 16 KB |
const QuicByteCount kStreamReceiveWindowLimit = 16 * 1024 * 1024; // 16 MB |
const QuicByteCount kSessionReceiveWindowLimit = 24 * 1024 * 1024; // 24 MB |
+// Default limit on the size of uncompressed headers. |
+const QuicByteCount kDefaultMaxUncompressedHeaderSize = 16 * 1024; // 16 KB |
+ |
+// Minimum size of the CWND, in packets, when doing bandwidth resumption. |
+const QuicPacketCount kMinCongestionWindowForBandwidthResumption = 10; |
+ |
// Maximum number of tracked packets. |
const QuicPacketCount kMaxTrackedPackets = 10000; |
@@ -481,6 +487,8 @@ enum QuicRstStreamErrorCode { |
QUIC_INVALID_PROMISE_METHOD, |
// The push stream is unclaimed and timed out. |
QUIC_PUSH_STREAM_TIMED_OUT, |
+ // Received headers were too large. |
+ QUIC_HEADERS_TOO_LARGE, |
// No error. Used as bound while iterating. |
QUIC_STREAM_LAST_ERROR, |
}; |