truncated send issue independent of LWS_NO_EXTENSIONS

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2014-04-01 11:24:44 +08:00
parent 5bc002e424
commit f9196dd85c

View file

@ -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;