Index: net/quic/quic_client_session.cc |
diff --git a/net/quic/quic_client_session.cc b/net/quic/quic_client_session.cc |
index 44957653c12faf3f15429a18b44e0f7693802ad3..60bcbb50b386a8ba1f588cf1dcee635df78c346f 100644 |
--- a/net/quic/quic_client_session.cc |
+++ b/net/quic/quic_client_session.cc |
@@ -563,7 +563,8 @@ void QuicClientSession::OnClosedStream() { |
void QuicClientSession::OnCryptoHandshakeEvent(CryptoHandshakeEvent event) { |
if (!callback_.is_null() && |
- (!require_confirmation_ || event == HANDSHAKE_CONFIRMED)) { |
+ (!require_confirmation_ || |
+ event == HANDSHAKE_CONFIRMED || event == ENCRYPTION_REESTABLISHED)) { |
// TODO(rtenneti): Currently for all CryptoHandshakeEvent events, callback_ |
// could be called because there are no error events in CryptoHandshakeEvent |
// enum. If error events are added to CryptoHandshakeEvent, then the |