1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

clean correct file comment at top and remove pointless LWS_CALLBACK_HTTP

Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
Andy Green 2016-05-21 15:18:30 +08:00
parent 7c2d5964f7
commit 82e883f7ad

View file

@ -1,5 +1,5 @@
/*
* ws protocol handler plugin for "dumb increment"
* ws protocol handler plugin for "POST demo"
*
* Copyright (C) 2010-2016 Andy Green <andy@warmcat.com>
*
@ -37,11 +37,6 @@ callback_post_demo(struct lws *wsi, enum lws_callback_reasons reason,
int n;
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:
lwsl_debug("LWS_CALLBACK_HTTP_BODY: len %d\n", (int)len);