This commit is contained in:
azw 2023-04-27 06:15:34 +00:00
parent 2b975c2cfb
commit 7b8cd6c11b
2 changed files with 3 additions and 1 deletions

View File

@ -100,12 +100,14 @@ std::shared_ptr<LongSession> LongSessionMgr::GetSession(int socket_handle)
void LongSessionMgr::ProcUdpPacket(a8::UdpPacket* pkt)
{
#if 0
f8::UdpLog::Instance()->Debug("ProcUdpPacket host:%s port:%d buflen:%d",
{
inet_ntoa(pkt->remote_addr.sin_addr),
pkt->remote_addr.sin_port,
pkt->buf_len
});
#endif
const int IKCP_OVERHEAD = 24;
if (pkt->buf_len < IKCP_OVERHEAD) {

2
third_party/a8 vendored

@ -1 +1 @@
Subproject commit a6f06f65b286e16310df08720e8698db86f1df36
Subproject commit 03f5f63a42a0a72881d224767791efca437d0611