Bug 1434609 - Add TFO_DISABLED as one of possible states after finishing TCP Fast Open (TFO) connection, r=valentin

This commit is contained in:
Honza Bambas 2018-02-20 05:41:00 +02:00
Родитель 826239dc66
Коммит df2fd1d44c
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -4594,7 +4594,8 @@ nsHalfOpenSocket::SetFastOpenConnected(nsresult aError, bool aWillRetry)
MOZ_ASSERT((mFastOpenStatus == TFO_NOT_TRIED) ||
(mFastOpenStatus == TFO_DATA_SENT) ||
(mFastOpenStatus == TFO_TRIED) ||
(mFastOpenStatus == TFO_DATA_COOKIE_NOT_ACCEPTED));
(mFastOpenStatus == TFO_DATA_COOKIE_NOT_ACCEPTED) ||
(mFastOpenStatus == TFO_DISABLED));
RefPtr<nsHalfOpenSocket> deleteProtector(this);