back-to-back: clear pending flag for all variants of server write

This commit is contained in:
Andy Green 2018-01-25 09:00:08 +08:00
parent b3b6bcdf64
commit a8a484eb53

View file

@ -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... */