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

Unified Diff: net/quic/chromium/quic_chromium_client_session.cc

Issue 2318053004: Remove obsolete QUIC disabling code. (Closed)
Patch Set: Rebase 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/chromium/quic_chromium_client_session.h ('k') | net/quic/chromium/quic_stream_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b21112def92c995c455cada345655ccbb3c85c78..1b008407205790ab9b1bb0bf09cdf7ca585c9771 100644
--- a/net/quic/chromium/quic_chromium_client_session.cc
+++ b/net/quic/chromium/quic_chromium_client_session.cc
@@ -241,7 +241,6 @@ QuicChromiumClientSession::QuicChromiumClientSession(
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),
@@ -777,8 +776,7 @@ void QuicChromiumClientSession::OnConfigNegotiated() {
void QuicChromiumClientSession::OnCryptoHandshakeEvent(
CryptoHandshakeEvent event) {
if (stream_factory_ && event == HANDSHAKE_CONFIRMED &&
- (stream_factory_->OnHandshakeConfirmed(
- this, logger_->ReceivedPacketLossRate()))) {
+ stream_factory_->OnHandshakeConfirmed(this)) {
return;
}
@@ -903,7 +901,6 @@ void QuicChromiumClientSession::OnConnectionClosed(
}
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());
@@ -941,8 +938,6 @@ void QuicChromiumClientSession::OnConnectionClosed(
"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",
« no previous file with comments | « net/quic/chromium/quic_chromium_client_session.h ('k') | net/quic/chromium/quic_stream_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698