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

Unified Diff: net/quic/core/quic_framer.cc

Issue 2409013002: relnote: Remove rejected packet number from public reset packet. (Closed)
Patch Set: flip the flag default to false Created 4 years, 2 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_flags_list.h ('k') | net/quic/core/quic_framer_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_framer.cc
diff --git a/net/quic/core/quic_framer.cc b/net/quic/core/quic_framer.cc
index bd0ae950c0b83d71f1dca8fc046044798e564e78..6111e8d18407a01a9cf6eecc075bef28667a53ba 100644
--- a/net/quic/core/quic_framer.cc
+++ b/net/quic/core/quic_framer.cc
@@ -466,7 +466,9 @@ QuicEncryptedPacket* QuicFramer::BuildPublicResetPacket(
CryptoHandshakeMessage reset;
reset.set_tag(kPRST);
reset.SetValue(kRNON, packet.nonce_proof);
- reset.SetValue(kRSEQ, packet.rejected_packet_number);
+ if (!FLAGS_quic_remove_packet_number_from_public_reset) {
+ reset.SetValue(kRSEQ, packet.rejected_packet_number);
+ }
if (!packet.client_address.address().empty()) {
// packet.client_address is non-empty.
QuicSocketAddressCoder address_coder(packet.client_address);
« no previous file with comments | « net/quic/core/quic_flags_list.h ('k') | net/quic/core/quic_framer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698