mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
NO_EXTENSION clean out handled var in handle_POLLOUT_event
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
a349367a0b
commit
66ecc2538d
1 changed files with 1 additions and 2 deletions
|
@ -55,7 +55,6 @@ lws_handle_POLLOUT_event(struct libwebsocket_context *context,
|
|||
#endif
|
||||
int ret;
|
||||
int m;
|
||||
int handled = 0;
|
||||
|
||||
/* pending truncated sends have uber priority */
|
||||
|
||||
|
@ -112,7 +111,7 @@ lws_handle_POLLOUT_event(struct libwebsocket_context *context,
|
|||
m = lws_ext_callback_for_each_active(wsi, LWS_EXT_CALLBACK_IS_WRITEABLE,
|
||||
NULL, 0);
|
||||
#ifndef LWS_NO_EXTENSIONS
|
||||
if (!wsi->extension_data_pending || handled == 2)
|
||||
if (!wsi->extension_data_pending)
|
||||
goto user_service;
|
||||
#endif
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue