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

Unified Diff: net/quic/core/quic_types.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_packet_generator_test.cc ('k') | net/quic/test_tools/simple_quic_framer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_types.h
diff --git a/net/quic/core/quic_types.h b/net/quic/core/quic_types.h
index 758081a66bba28666f1fb86414ecbab8a81df84c..ed978cf41446de176b4e736d07d9d703b10b8944 100644
--- a/net/quic/core/quic_types.h
+++ b/net/quic/core/quic_types.h
@@ -261,6 +261,16 @@ enum PeerAddressChangeType {
IPV6_TO_IPV6_CHANGE,
};
+enum StreamSendingState {
+ // Sender has more data to send on this stream.
+ NO_FIN,
+ // Sender is done sending on this stream.
+ FIN,
+ // Sender is done sending on this stream and random padding needs to be
+ // appended after all stream frames.
+ FIN_AND_PADDING,
+};
+
} // namespace net
#endif // NET_QUIC_CORE_QUIC_TYPES_H_
« no previous file with comments | « net/quic/core/quic_packet_generator_test.cc ('k') | net/quic/test_tools/simple_quic_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698