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

Unified Diff: net/quic/quic_session.cc

Issue 14816006: Land Recent QUIC changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing NET_PRIVATE_EXPORT to QuicWallTime Created 7 years, 7 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/quic_protocol_test.cc ('k') | net/quic/quic_time.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_session.cc
diff --git a/net/quic/quic_session.cc b/net/quic/quic_session.cc
index 8cd605a28f53d56ae2350dd49552d45521ba7320..6687930011c0ef21603128186c40140861fc16b2 100644
--- a/net/quic/quic_session.cc
+++ b/net/quic/quic_session.cc
@@ -213,6 +213,10 @@ bool QuicSession::IsCryptoHandshakeConfirmed() {
}
void QuicSession::OnCryptoHandshakeEvent(CryptoHandshakeEvent event) {
+ if (event == QuicSession::HANDSHAKE_CONFIRMED) {
+ connection_->SetConnectionTimeout(
+ GetCryptoStream()->negotiated_params().idle_connection_state_lifetime);
+ }
}
void QuicSession::ActivateStream(ReliableQuicStream* stream) {
« no previous file with comments | « net/quic/quic_protocol_test.cc ('k') | net/quic/quic_time.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698