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

Unified Diff: net/quic/quic_protocol.h

Issue 1983183002: Landing Recent QUIC changes until 5/14/2016 02:25:25 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "first try to fix link error for win_clang build" Created 4 years, 7 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/quic_packet_generator.cc ('k') | net/quic/quic_sent_packet_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_protocol.h
diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h
index 6cdb496aaabc058b192015b05e404715c3e72b3e..7ea471b68f3ae6136dc26a3da751c4e7b48e0cc5 100644
--- a/net/quic/quic_protocol.h
+++ b/net/quic/quic_protocol.h
@@ -78,9 +78,6 @@ const QuicByteCount kSessionReceiveWindowLimit = 24 * 1024 * 1024; // 24 MB
// Minimum size of the CWND, in packets, when doing bandwidth resumption.
const QuicPacketCount kMinCongestionWindowForBandwidthResumption = 10;
-// Maximum size of the CWND, in packets.
-const QuicPacketCount kMaxCongestionWindow = 200;
-
// Maximum number of tracked packets.
const QuicPacketCount kMaxTrackedPackets = 5000;
@@ -532,6 +529,8 @@ enum QuicErrorCode {
QUIC_UNENCRYPTED_STREAM_DATA = 61,
// Attempt to send unencrypted STREAM frame.
QUIC_ATTEMPT_TO_SEND_UNENCRYPTED_STREAM_DATA = 88,
+ // Received a frame which is likely the result of memory corruption.
+ QUIC_MAYBE_CORRUPTED_MEMORY = 89,
// FEC frame data is not encrypted.
QUIC_UNENCRYPTED_FEC_DATA = 77,
// RST_STREAM frame data is malformed.
@@ -698,7 +697,7 @@ enum QuicErrorCode {
QUIC_CONNECTION_MIGRATION_NON_MIGRATABLE_STREAM = 84,
// No error. Used as bound while iterating.
- QUIC_LAST_ERROR = 89,
+ QUIC_LAST_ERROR = 90,
};
// Must be updated any time a QuicErrorCode is deprecated.
@@ -1442,7 +1441,9 @@ struct NET_EXPORT_PRIVATE TransmissionInfo {
TransmissionType transmission_type;
// In flight packets have not been abandoned or lost.
bool in_flight;
- // True if the packet can never be acked, so it can be removed.
+ // True if the packet can never be acked, so it can be removed. Occurs when
+ // a packet is never sent, after it is acknowledged once, or if it's a crypto
+ // packet we never expect to receive an ack for.
bool is_unackable;
// True if the packet contains stream data from the crypto stream.
bool has_crypto_handshake;
« no previous file with comments | « net/quic/quic_packet_generator.cc ('k') | net/quic/quic_sent_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698