projects
/
profile
/
ivi
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae39ff
)
fix onopen browser context patch
author
Andy Green
<andy@warmcat.com>
Mon, 9 Apr 2012 07:23:47 +0000
(15:23 +0800)
committer
Andy Green
<andy.green@linaro.org>
Mon, 9 Apr 2012 07:23:47 +0000
(15:23 +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
1feb728
..
b05f79e
100644
(file)
--- a/
lib/libwebsockets.c
+++ b/
lib/libwebsockets.c
@@
-1887,6
+1887,7
@@
libwebsocket_service_fd(struct libwebsocket_context *context,
* definitively ready from browser pov.
*/
+ len = 1;
while (wsi->parser_state != WSI_PARSING_COMPLETE && len > 0) {
#ifdef LWS_OPENSSL_SUPPORT
if (wsi->use_ssl)