Skip to content

Commit

Permalink
ws: increase sanity check for spins needed to consume buffer to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
lws-team committed Sep 25, 2024
1 parent b486c2b commit e975bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/roles/ws/ops-ws.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,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
Expand Down

0 comments on commit e975bae

Please sign in to comment.