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:
d2ec7ad
)
nonzero return from client parser is close
author
Andy Green
<andy.green@linaro.org>
Mon, 17 Mar 2014 10:40:08 +0000
(18:40 +0800)
committer
Andy Green
<andy.green@linaro.org>
Mon, 17 Mar 2014 10:40:08 +0000
(18:40 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/handshake.c
patch
|
blob
|
history
diff --git
a/lib/handshake.c
b/lib/handshake.c
index
7611a6a
..
0007066
100644
(file)
--- a/
lib/handshake.c
+++ b/
lib/handshake.c
@@
-416,7
+416,7
@@
cleanup:
case LWS_CONNMODE_WS_CLIENT:
for (n = 0; n < len; n++)
if (libwebsocket_client_rx_sm(
- wsi, *buf++)
< 0
) {
+ wsi, *buf++)) {
lwsl_debug("client rx has bailed\n");
goto bail;
}