зеркало из https://github.com/microsoft/msquic.git
Fix Too Many CIDs Bug from Merge Conflict Fix (#174)
This commit is contained in:
Родитель
3f88f40ec4
Коммит
850d103377
|
@ -806,7 +806,9 @@ QuicConnGenerateNewSourceCids(
|
|||
// limit). Otherwise, just generate whatever number we need to hit the
|
||||
// limit.
|
||||
//
|
||||
QUIC_DBG_ASSERT(QuicConnSourceCidsCount(Connection) <= Connection->SourceCidLimit);
|
||||
QUIC_DBG_ASSERT(
|
||||
ReplaceExistingCids ||
|
||||
(QuicConnSourceCidsCount(Connection) <= Connection->SourceCidLimit));
|
||||
uint8_t NewCidCount =
|
||||
ReplaceExistingCids ?
|
||||
Connection->SourceCidLimit :
|
||||
|
|
|
@ -1254,7 +1254,7 @@ QuicCryptoProcessTlsCompletion(
|
|||
//
|
||||
Connection->State.Connected = TRUE;
|
||||
|
||||
QuicConnGenerateNewSourceCid(Connection, FALSE);
|
||||
QuicConnGenerateNewSourceCids(Connection, FALSE);
|
||||
|
||||
if (!QuicConnIsServer(Connection) &&
|
||||
Connection->RemoteServerName != NULL) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче