1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

sspc: increase client packet size to 8192

This is only used on Linux-class devices
This commit is contained in:
Andy Green 2020-08-05 06:28:09 +01:00
parent 0f218eebbd
commit 74c7060c62

View file

@ -108,7 +108,7 @@ callback_sspc_client(struct lws *wsi, enum lws_callback_reasons reason,
void *user, void *in, size_t len)
{
lws_sspc_handle_t *h = (lws_sspc_handle_t *)lws_get_opaque_user_data(wsi);
uint8_t s[32], pkt[LWS_PRE + 1400], *p = pkt + LWS_PRE,
uint8_t s[32], pkt[LWS_PRE + 8192], *p = pkt + LWS_PRE,
*end = p + sizeof(pkt) - LWS_PRE;
void *m = (void *)((uint8_t *)&h[1]);
const uint8_t *cp;