Add jumbo control stream messages for larger than 16-bit payloads

This commit is contained in:
Cameron Gutman committed 2026-11-01 15:07:12 -06:00
1 parent c7dff22963
commit 4853e70489
3 files changed
+231 -67

No files matched your search

+1 -1
View File
@@ -293,7 +293,7 @@ static bool sendInputPacket(PPACKET_HOLDER holder, bool moreData) {
}
err = (SOCK_RET)sendInputPacketOnControlStream((unsigned char*) encryptedBuffer,
(int)(encryptedSize + sizeof(encryptedLengthPrefix)),
(unsigned int)(encryptedSize + sizeof(encryptedLengthPrefix)),
holder->channelId,
holder->enetPacketFlags,
moreData);