mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
qualify server specific api with LWS_NO_SERVER
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
2627148523
commit
2721e3ca9d
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue