mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
truncated send issue independent of LWS_NO_EXTENSIONS
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
5bc002e424
commit
f9196dd85c
1 changed files with 2 additions and 0 deletions
|
@ -727,6 +727,7 @@ lws_handle_POLLOUT_event(struct libwebsocket_context *context,
|
|||
int ret;
|
||||
int m;
|
||||
int handled = 0;
|
||||
#endif
|
||||
|
||||
/* pending truncated sends have uber priority */
|
||||
|
||||
|
@ -738,6 +739,7 @@ lws_handle_POLLOUT_event(struct libwebsocket_context *context,
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifndef LWS_NO_EXTENSIONS
|
||||
for (n = 0; n < wsi->count_active_extensions; n++) {
|
||||
if (!wsi->active_extensions[n]->callback)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue