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

Unified Diff: net/quic/quic_connection.cc

Issue 14411004: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use CONFIG_VERSION insteaf of VERSION Created 7 years, 8 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
Index: net/quic/quic_connection.cc
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
index efb3e96d5288cbe70c4eccd578f82c77ee962a43..cb3033be29b79c4795de2ffdeca703b262b823d6 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -180,6 +180,7 @@ bool QuicConnection::OnProtocolVersionMismatch(
LOG(DFATAL) << "Framer called OnProtocolVersionMismatch for server. "
<< "Closing connection.";
CloseConnection(QUIC_INTERNAL_ERROR, false);
+ return false;
}
DCHECK_NE(quic_version_, received_version);
@@ -229,6 +230,7 @@ void QuicConnection::OnVersionNegotiationPacket(
LOG(DFATAL) << "Framer parsed VersionNegotiationPacket for server."
<< "Closing connection.";
CloseConnection(QUIC_INTERNAL_ERROR, false);
+ return;
}
if (debug_visitor_) {
debug_visitor_->OnVersionNegotiationPacket(packet);

Powered by Google App Engine
This is Rietveld 408576698