projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bc002e
)
truncated send issue independent of LWS_NO_EXTENSIONS
author
Andy Green
<andy.green@linaro.org>
Tue, 1 Apr 2014 03:24:44 +0000
(11:24 +0800)
committer
Andy Green
<andy.green@linaro.org>
Tue, 1 Apr 2014 03:24:44 +0000
(11:24 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/libwebsockets.c
patch
|
blob
|
history
diff --git
a/lib/libwebsockets.c
b/lib/libwebsockets.c
index
acbc81e
..
0c94db5
100644
(file)
--- 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;