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:
7cc7ae4
)
Partial send handling
author
kolis
<g1m0.kolis@gmail.com>
Mon, 19 May 2014 12:40:50 +0000
(14:40 +0200)
committer
Andy Green
<andy.green@linaro.org>
Tue, 20 May 2014 04:38:29 +0000
(12:38 +0800)
AG removed what looked like redundant set eff_buf.token_len <- n
lib/extension.c
patch
|
blob
|
history
diff --git
a/lib/extension.c
b/lib/extension.c
index
52510a9
..
a37c39d
100644
(file)
--- a/
lib/extension.c
+++ b/
lib/extension.c
@@
-144,9
+144,12
@@
lws_issue_raw_ext_access(struct libwebsocket *wsi,
}
/* always either sent it all or privately buffered */
+ if (wsi->u.ws.clean_buffer)
+ len = n;
+
}
- lwsl_parser("written %d bytes to client\n",
eff_buf.token_le
n);
+ lwsl_parser("written %d bytes to client\n", n);
/* no extension has more to spill? Then we can go */