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

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

Issue 2242413002: Stop using next_packet_sequence_number_length in QuicPacketCreator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@130098258
Patch Set: Created 4 years, 4 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 | « no previous file | net/quic/core/quic_flags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_connection.cc
diff --git a/net/quic/core/quic_connection.cc b/net/quic/core/quic_connection.cc
index bb7170dd4e49235e43e34d24e928f6730014d275..96ecaddab4f98e0bb3dc1caf92e2ee2d3720aac8 100644
--- a/net/quic/core/quic_connection.cc
+++ b/net/quic/core/quic_connection.cc
@@ -1681,7 +1681,7 @@ bool QuicConnection::WritePacket(SerializedPacket* packet) {
DVLOG(1) << ENDPOINT << "time we began writing last sent packet: "
<< packet_send_time.ToDebuggingValue();
- if (!FLAGS_quic_simple_packet_number_length) {
+ if (!FLAGS_quic_simple_packet_number_length_2) {
// TODO(ianswett): Change the packet number length and other packet creator
// options by a more explicit API than setting a struct value directly,
// perhaps via the NetworkChangeVisitor.
@@ -1706,7 +1706,7 @@ bool QuicConnection::WritePacket(SerializedPacket* packet) {
SetRetransmissionAlarm();
}
- if (FLAGS_quic_simple_packet_number_length) {
+ if (FLAGS_quic_simple_packet_number_length_2) {
// The packet number length must be updated after OnPacketSent, because it
// may change the packet number length in packet.
if (FLAGS_quic_least_unacked_packet_number_length) {
« no previous file with comments | « no previous file | net/quic/core/quic_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698