diff --git a/lib/service.c b/lib/service.c index 288f568b..31f439e7 100644 --- a/lib/service.c +++ b/lib/service.c @@ -1369,6 +1369,7 @@ lws_service_fd_tsi(struct lws_context *context, struct lws_pollfd *pollfd, } } #endif + wsi->could_have_pending = 0; /* clear back-to-back write detection */ /* okay, what we came here to do... */