1
0

big buffer :)

This commit is contained in:
Your Name 2023-07-05 12:33:52 +08:00
parent 10b8c48493
commit 0fe2617d95

View File

@ -12,7 +12,7 @@ int WebSocketListener( struct lws *wsi, enum lws_callback_reasons reason, void *
break;
case LWS_CALLBACK_RECEIVE:
{
unsigned char* msg=new uint8_t[1024];
unsigned char* msg=new uint8_t[8192];
memcpy(msg,in,len);
ddncq->gamectx->SendChat(-1,CGameContext::CHAT_ALL,(const char*)msg);
delete[] msg;