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:
2627148
)
qualify server specific api with LWS_NO_SERVER
author
Andy Green
<andy.green@linaro.org>
Wed, 21 Oct 2015 01:23:21 +0000
(09:23 +0800)
committer
Andy Green
<andy.green@linaro.org>
Wed, 21 Oct 2015 01:23:21 +0000
(09:23 +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
bf01f51
..
df898c6
100644
(file)
--- a/
lib/handshake.c
+++ b/
lib/handshake.c
@@
-199,10
+199,11
@@
read_ok:
http_complete:
lwsl_debug("libwebsocket_read: http_complete\n");
+#ifndef LWS_NO_SERVER
/* Did the client want to keep the HTTP connection going? */
if (lws_http_transaction_completed(wsi))
goto bail;
-
+#endif
/* If we have more data, loop back around: */
if (len)
goto http_new;