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

test-server-status: increase tx size to avoid WRITEABLE loops

This commit is contained in:
Andy Green 2017-06-28 10:35:40 +08:00
parent bd23a401f6
commit 55d9037c32
2 changed files with 2 additions and 2 deletions

View file

@ -149,7 +149,7 @@ callback_lws_status(struct lws *wsi, enum lws_callback_reasons reason,
/*
* remove ourselves from live pss list
*/
lwsl_err("CLOSING pss %p ********\n", pss);
lwsl_debug("CLOSING pss %p ********\n", pss);
pp = &list;
while (*pp) {

View file

@ -110,7 +110,7 @@ static struct lws_protocols protocols[] = {
"lws-status",
callback_lws_status,
sizeof(struct per_session_data__lws_status),
128, /* rx buf size must be >= permessage-deflate rx size */
512, /* rx buf size must be >= permessage-deflate rx size */
},
{ NULL, NULL, 0, 0 } /* terminator */
};