From f9196dd85c802e6b03238aff0e241b08a60c4113 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Tue, 1 Apr 2014 11:24:44 +0800 Subject: [PATCH] truncated send issue independent of LWS_NO_EXTENSIONS Signed-off-by: Andy Green --- lib/libwebsockets.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index acbc81e4..0c94db53 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -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;