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:
1690581
)
coverity 181576: remove dead code to keep coverity happy
author
Andy Green
<andy@warmcat.com>
Wed, 19 Jul 2017 06:25:42 +0000
(14:25 +0800)
committer
Andy Green
<andy@warmcat.com>
Wed, 19 Jul 2017 06:37:04 +0000
(14:37 +0800)
lib/client.c
patch
|
blob
|
history
diff --git
a/lib/client.c
b/lib/client.c
index
4bb37cb
..
c523459
100755
(executable)
--- a/
lib/client.c
+++ b/
lib/client.c
@@
-573,7
+573,7
@@
lws_http_transaction_completed_client(struct lws *wsi)
/* we don't support chained client connections yet */
return 1;
-
+#if 0
/* otherwise set ourselves up ready to go again */
wsi->state = LWSS_CLIENT_HTTP_ESTABLISHED;
wsi->mode = LWSCM_HTTP_CLIENT_ACCEPTED;
@@
-598,6
+598,7
@@
lws_http_transaction_completed_client(struct lws *wsi)
lwsl_info("%s: %p: keep-alive await new transaction\n", __func__, wsi);
return 0;
+#endif
}
LWS_VISIBLE LWS_EXTERN unsigned int