summaryrefslogtreecommitdiffstats
path: root/net/quic
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-11 23:00:28 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-11 23:00:28 +0000
commit7b33037ff33d6d630e981041a6100973a2ba2054 (patch)
tree4079d58959ee1e8a9e7d102ba59d281e8d8e5932 /net/quic
parent6431e5b55d5c0de3faad80267a63829e3b6e959d (diff)
downloadchromium_src-7b33037ff33d6d630e981041a6100973a2ba2054.zip
chromium_src-7b33037ff33d6d630e981041a6100973a2ba2054.tar.gz
chromium_src-7b33037ff33d6d630e981041a6100973a2ba2054.tar.bz2
Add a histogram Net.AlternateProtocolBrokenLocation
for tracking where SetBrokenAlternateProtocol is called, in practice. Review URL: https://codereview.chromium.org/228323005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic')
-rw-r--r--net/quic/quic_stream_factory.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc
index 44ed85a..791aa9b 100644
--- a/net/quic/quic_stream_factory.cc
+++ b/net/quic/quic_stream_factory.cc
@@ -563,6 +563,8 @@ void QuicStreamFactory::OnSessionGoingAway(QuicClientSession* session) {
// packets from the peer, we should consider blacklisting this
// differently so that we still race TCP but we don't consider the
// session connected until the handshake has been confirmed.
+ HistogramBrokenAlternateProtocolLocation(
+ BROKEN_ALTERNATE_PROTOCOL_LOCATION_QUIC_STREAM_FACTORY);
http_server_properties_->SetBrokenAlternateProtocol(it->host_port_pair());
UMA_HISTOGRAM_COUNTS("Net.QuicHandshakeNotConfirmedNumPacketsReceived",
stats.packets_received);