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:
ba45f7c
)
dummy handler: LWS_CALLBACK_HTTP_FILE_COMPLETION
author
Andy Green
<andy@warmcat.com>
Wed, 26 Jul 2017 23:26:00 +0000
(07:26 +0800)
committer
Andy Green
<andy@warmcat.com>
Wed, 26 Jul 2017 23:26:00 +0000
(07:26 +0800)
lib/context.c
patch
|
blob
|
history
diff --git
a/lib/context.c
b/lib/context.c
index
27c8224
..
e8066b7
100644
(file)
--- a/
lib/context.c
+++ b/
lib/context.c
@@
-237,6
+237,12
@@
lws_callback_http_dummy(struct lws *wsi, enum lws_callback_reasons reason,
#endif
return -1;
break;
+#if !defined(LWS_NO_SERVER)
+ case LWS_CALLBACK_HTTP_FILE_COMPLETION:
+ if (lws_http_transaction_completed(wsi))
+ return -1;
+ break;
+#endif
case LWS_CALLBACK_HTTP_WRITEABLE:
#ifdef LWS_WITH_CGI