| Index: net/quic/quic_packet_creator.cc
|
| diff --git a/net/quic/quic_packet_creator.cc b/net/quic/quic_packet_creator.cc
|
| index 5b0e1c64b1825d68b9c14dfb7702353b13ae8049..cb37cc271de0d26b3b03d0407aac97c1b842aaab 100644
|
| --- a/net/quic/quic_packet_creator.cc
|
| +++ b/net/quic/quic_packet_creator.cc
|
| @@ -17,10 +17,6 @@ using std::min;
|
| using std::pair;
|
| using std::vector;
|
|
|
| -// If true, then QUIC handshake packets will be padded to the maximium packet
|
| -// size.
|
| -bool FLAGS_pad_quic_handshake_packets = true;
|
| -
|
| namespace net {
|
|
|
| // A QuicRandom wrapper that gets a bucket of entropy and distributes it
|
| @@ -320,9 +316,7 @@ SerializedPacket QuicPacketCreator::SerializePacket() {
|
| QuicPacketHeader header;
|
| FillPacketHeader(fec_group_number_, false, false, &header);
|
|
|
| - if (FLAGS_pad_quic_handshake_packets) {
|
| - MaybeAddPadding();
|
| - }
|
| + MaybeAddPadding();
|
|
|
| size_t max_plaintext_size =
|
| framer_->GetMaxPlaintextSize(options_.max_packet_length);
|
|
|