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

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

Issue 2308043003: Landing Recent QUIC changes until 5:55 PM, Aug 25, 2016 UTC-4 (Closed)
Patch Set: Fixes for various tests Created 4 years, 3 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_crypto_server_stream.cc ('k') | net/quic/core/quic_flags_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_crypto_stream.cc
diff --git a/net/quic/core/quic_crypto_stream.cc b/net/quic/core/quic_crypto_stream.cc
index 879834d3c15be0ef4f83d60f75f05afc3fef2eaf..ed8e20cc2ec17fb1ba7ed62c0b5fdf572b3ff84a 100644
--- a/net/quic/core/quic_crypto_stream.cc
+++ b/net/quic/core/quic_crypto_stream.cc
@@ -75,9 +75,7 @@ void QuicCryptoStream::OnDataAvailable() {
void QuicCryptoStream::SendHandshakeMessage(
const CryptoHandshakeMessage& message) {
DVLOG(1) << ENDPOINT << "Sending " << message.DebugString();
- if (FLAGS_quic_neuter_unencrypted_when_sending) {
- session()->connection()->NeuterUnencryptedPackets();
- }
+ session()->connection()->NeuterUnencryptedPackets();
session()->OnCryptoHandshakeMessageSent(message);
const QuicData& data = message.GetSerialized();
WriteOrBufferData(StringPiece(data.data(), data.length()), false, nullptr);
« no previous file with comments | « net/quic/core/quic_crypto_server_stream.cc ('k') | net/quic/core/quic_flags_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698