Skip to content

Commit 1c7da11

Browse files
Mikołaj Małeckimaxsharabayko
Mikołaj Małecki
authored andcommitted
[core] Removed invalid max socket ID check
1 parent 3754562 commit 1c7da11

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

srtcore/handshake.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@ bool CHandShake::valid()
192192
if (m_iVersion < CUDT::HS_VERSION_UDT4
193193
|| m_iISN < 0 || m_iISN >= CSeqNo::m_iMaxSeqNo
194194
|| m_iMSS < 32
195-
|| m_iFlightFlagSize < 2
196-
|| m_iID >= CUDTUnited::MAX_SOCKET_VAL)
195+
|| m_iFlightFlagSize < 2)
197196
return false;
198197

199198
return true;

0 commit comments

Comments
 (0)