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

Unified Diff: net/quic/core/quic_constants.h

Issue 2828543002: Let QUIC be able to add random padding of [1,256] bytes after fin is consumed for a stream. Random … (Closed)
Patch Set: Created 3 years, 8 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/core/quic_connection_test.cc ('k') | net/quic/core/quic_packet_creator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_constants.h
diff --git a/net/quic/core/quic_constants.h b/net/quic/core/quic_constants.h
index 9cf0e6c7a34ae65eec82012958e0348ae635dcc8..8fcf115de00e44873889e97057a09478fd9a8aaa 100644
--- a/net/quic/core/quic_constants.h
+++ b/net/quic/core/quic_constants.h
@@ -180,6 +180,9 @@ const size_t kDiversificationNonceSize = 32;
// This will likely have to be tuned.
const QuicPacketNumber kMaxPacketGap = 5000;
+// The maximum number of random padding bytes to add.
+const QuicByteCount kMaxNumRandomPaddingBytes = 256;
+
} // namespace net
#endif // NET_QUIC_CORE_QUIC_CONSTANTS_H_
« no previous file with comments | « net/quic/core/quic_connection_test.cc ('k') | net/quic/core/quic_packet_creator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698