Index: net/quic/quic_connection.cc |
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc |
index d4f1593616651437b1ad11ee4463f3df80c32f70..c7fb7c040ceaaaba5a5ea3905ad5a6a1dbc41db4 100644 |
--- a/net/quic/quic_connection.cc |
+++ b/net/quic/quic_connection.cc |
@@ -739,6 +739,9 @@ bool QuicConnection::OnConnectionCloseFrame( |
bool QuicConnection::OnGoAwayFrame(const QuicGoAwayFrame& frame) { |
DCHECK(connected_); |
+ if (debug_visitor_) { |
+ debug_visitor_->OnGoAwayFrame(frame); |
+ } |
DVLOG(1) << ENDPOINT << "Go away received with error " |
<< QuicUtils::ErrorToString(frame.error_code) |
<< " and reason:" << frame.reason_phrase; |