Skip to content
Snippets Groups Projects
Commit 82e883f7 authored by Andy Green's avatar Andy Green
Browse files

clean correct file comment at top and remove pointless LWS_CALLBACK_HTTP


Signed-off-by: default avatarAndy Green <andy@warmcat.com>
parent 7c2d5964
No related branches found
No related tags found
No related merge requests found
/* /*
* ws protocol handler plugin for "dumb increment" * ws protocol handler plugin for "POST demo"
* *
* Copyright (C) 2010-2016 Andy Green <andy@warmcat.com> * Copyright (C) 2010-2016 Andy Green <andy@warmcat.com>
* *
...@@ -37,11 +37,6 @@ callback_post_demo(struct lws *wsi, enum lws_callback_reasons reason, ...@@ -37,11 +37,6 @@ callback_post_demo(struct lws *wsi, enum lws_callback_reasons reason,
int n; int n;
switch (reason) { switch (reason) {
case LWS_CALLBACK_HTTP:
lwsl_debug("LWS_CALLBACK_HTTP\n");
if (lws_hdr_total_length(wsi, WSI_TOKEN_POST_URI))
return 0;
break;
case LWS_CALLBACK_HTTP_BODY: case LWS_CALLBACK_HTTP_BODY:
lwsl_debug("LWS_CALLBACK_HTTP_BODY: len %d\n", (int)len); lwsl_debug("LWS_CALLBACK_HTTP_BODY: len %d\n", (int)len);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment