| Index: net/quic/chromium/quic_chromium_client_session.cc
|
| diff --git a/net/quic/chromium/quic_chromium_client_session.cc b/net/quic/chromium/quic_chromium_client_session.cc
|
| index 629b2825722d795d29f6b5b681c058dac9506d62..5a1ae051a4ae2a91d815c357d422adbd7ad33f35 100644
|
| --- a/net/quic/chromium/quic_chromium_client_session.cc
|
| +++ b/net/quic/chromium/quic_chromium_client_session.cc
|
| @@ -233,6 +233,7 @@
|
| net_log_)),
|
| going_away_(false),
|
| port_migration_detected_(false),
|
| + disabled_reason_(QUIC_DISABLED_NOT),
|
| token_binding_signatures_(kTokenBindingSignatureMapSize),
|
| streams_pushed_count_(0),
|
| streams_pushed_and_claimed_count_(0),
|
| @@ -755,7 +756,8 @@
|
| void QuicChromiumClientSession::OnCryptoHandshakeEvent(
|
| CryptoHandshakeEvent event) {
|
| if (stream_factory_ && event == HANDSHAKE_CONFIRMED &&
|
| - stream_factory_->OnHandshakeConfirmed(this)) {
|
| + (stream_factory_->OnHandshakeConfirmed(
|
| + this, logger_->ReceivedPacketLossRate()))) {
|
| return;
|
| }
|
|
|
| @@ -880,6 +882,7 @@
|
| }
|
| if (IsCryptoHandshakeConfirmed()) {
|
| if (GetNumOpenOutgoingStreams() > 0) {
|
| + disabled_reason_ = QUIC_DISABLED_TIMEOUT_WITH_OPEN_STREAMS;
|
| UMA_HISTOGRAM_BOOLEAN(
|
| "Net.QuicSession.TimedOutWithOpenStreams.HasUnackedPackets",
|
| connection()->sent_packet_manager().HasUnackedPackets());
|
| @@ -917,6 +920,8 @@
|
| "Net.QuicSession.ConnectionClose.HandshakeFailureUnknown.QuicError",
|
| error);
|
| }
|
| + } else if (error == QUIC_PUBLIC_RESET) {
|
| + disabled_reason_ = QUIC_DISABLED_PUBLIC_RESET_POST_HANDSHAKE;
|
| }
|
|
|
| UMA_HISTOGRAM_SPARSE_SLOWLY("Net.QuicSession.QuicVersion",
|
|
|