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

ws: increase sanity check for spins needed to consume buffer to 100

https://github.com/warmcat/libwebsockets/issues/3184
This commit is contained in:
Andy Green 2024-09-25 08:52:28 +01:00
parent b05e95ec87
commit 2ca5d8605b

View file

@ -943,7 +943,7 @@ rops_handle_POLLIN_ws(struct lws_context_per_thread *pt, struct lws *wsi,
unsigned int pending = 0;
struct lws_tokens ebuf;
char buffered = 0;
int n = 0, m, sanity = 10;
int n = 0, m, sanity = 100;
#if defined(LWS_WITH_HTTP2)
struct lws *wsi1;
#endif