Commit b589f673 authored by Nick Harper's avatar Nick Harper Committed by Commit Bot

QUIC: remove unused server designated connection ID

Change-Id: Id51dceb772d031e480493297c0538489b134f5d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2258421
Auto-Submit: Nick Harper <nharper@chromium.org>
Commit-Queue: David Schinazi <dschinazi@chromium.org>
Reviewed-by: default avatarDavid Schinazi <dschinazi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#781168}
parent 7592cf29
...@@ -2011,8 +2011,6 @@ void QuicStreamFactory::InitializeCachedStateInCryptoConfig( ...@@ -2011,8 +2011,6 @@ void QuicStreamFactory::InitializeCachedStateInCryptoConfig(
quic::QuicConnectionId* connection_id) { quic::QuicConnectionId* connection_id) {
quic::QuicCryptoClientConfig::CachedState* cached = quic::QuicCryptoClientConfig::CachedState* cached =
crypto_config_handle.GetConfig()->LookupOrCreate(server_id); crypto_config_handle.GetConfig()->LookupOrCreate(server_id);
if (cached->has_server_designated_connection_id())
*connection_id = cached->GetNextServerDesignatedConnectionId();
if (!cached->IsEmpty()) { if (!cached->IsEmpty()) {
return; return;
......
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