big buffer :)
This commit is contained in:
@ -12,7 +12,7 @@ int WebSocketListener( struct lws *wsi, enum lws_callback_reasons reason, void *
|
|||||||
break;
|
break;
|
||||||
case LWS_CALLBACK_RECEIVE:
|
case LWS_CALLBACK_RECEIVE:
|
||||||
{
|
{
|
||||||
unsigned char* msg=new uint8_t[1024];
|
unsigned char* msg=new uint8_t[8192];
|
||||||
memcpy(msg,in,len);
|
memcpy(msg,in,len);
|
||||||
ddncq->gamectx->SendChat(-1,CGameContext::CHAT_ALL,(const char*)msg);
|
ddncq->gamectx->SendChat(-1,CGameContext::CHAT_ALL,(const char*)msg);
|
||||||
delete[] msg;
|
delete[] msg;
|
||||||
|
Reference in New Issue
Block a user