Commit b6c63b12 authored by rch@chromium.org's avatar rch@chromium.org

Don't close already closed connections in

QuicClientSession::CloseSessionOnErrorInner.

Review URL: https://codereview.chromium.org/284303007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271548 0039d316-1c4b-4281-b951-d872f2087c98
parent 00ac53ef
...@@ -646,6 +646,7 @@ void QuicClientSession::CloseSessionOnErrorInner(int net_error, ...@@ -646,6 +646,7 @@ void QuicClientSession::CloseSessionOnErrorInner(int net_error,
NetLog::TYPE_QUIC_SESSION_CLOSE_ON_ERROR, NetLog::TYPE_QUIC_SESSION_CLOSE_ON_ERROR,
NetLog::IntegerCallback("net_error", net_error)); NetLog::IntegerCallback("net_error", net_error));
if (connection()->connected())
connection()->CloseConnection(quic_error, false); connection()->CloseConnection(quic_error, false);
DCHECK(!connection()->connected()); DCHECK(!connection()->connected());
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment