Move kDefaultMaxUncompressedHeaderSize to http_constants. No behavior change. not protected. PiperOrigin-RevId: 325051193 Change-Id: Icdd50e71bffbde55aaf71fa3d771f2ad03b5d649
diff --git a/quic/core/http/http_constants.h b/quic/core/http/http_constants.h index 285d379..8a3436c 100644 --- a/quic/core/http/http_constants.h +++ b/quic/core/http/http_constants.h
@@ -38,6 +38,10 @@ // SETTINGS_QPACK_MAX_TABLE_CAPACITY. const QuicByteCount kDefaultQpackMaxDynamicTableCapacity = 64 * 1024; // 64 KB +// Default limit on the size of uncompressed headers, +// communicated via SETTINGS_MAX_HEADER_LIST_SIZE. +const QuicByteCount kDefaultMaxUncompressedHeaderSize = 16 * 1024; // 16 KB + // Default limit on number of blocked streams, communicated via // SETTINGS_QPACK_BLOCKED_STREAMS. const uint64_t kDefaultMaximumBlockedStreams = 100;
diff --git a/quic/core/quic_constants.h b/quic/core/quic_constants.h index 6da3151..eaf0170 100644 --- a/quic/core/quic_constants.h +++ b/quic/core/quic_constants.h
@@ -80,11 +80,6 @@ const QuicByteCount kStreamReceiveWindowLimit = 16 * 1024 * 1024; // 16 MB const QuicByteCount kSessionReceiveWindowLimit = 24 * 1024 * 1024; // 24 MB -// Default limit on the size of uncompressed headers, -// communicated via SETTINGS_MAX_HEADER_LIST_SIZE. -// TODO(bnc): Move this constant to quic/core/http/. -const QuicByteCount kDefaultMaxUncompressedHeaderSize = 16 * 1024; // 16 KB - // Minimum size of the CWND, in packets, when doing bandwidth resumption. const QuicPacketCount kMinCongestionWindowForBandwidthResumption = 10;