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

logging: reduce logs related to POST and spa

This commit is contained in:
Andy Green 2018-03-29 08:34:44 +08:00
parent 865b2439ce
commit cd30656e01
3 changed files with 4 additions and 4 deletions

View file

@ -268,7 +268,7 @@ postbody_completion:
if (!wsi->cgi)
#endif
{
lwsl_notice("HTTP_BODY_COMPLETION\n");
lwsl_info("HTTP_BODY_COMPLETION\n");
n = wsi->protocol->callback(wsi,
LWS_CALLBACK_HTTP_BODY_COMPLETION,
wsi->user_space, NULL, 0);

View file

@ -114,7 +114,7 @@ lws_urldecode_s_create(struct lws *wsi, char *out, int out_len, void *data,
s->mime_boundary[m] = '\0';
lwsl_notice("boundary '%s'\n", s->mime_boundary);
lwsl_info("boundary '%s'\n", s->mime_boundary);
}
}
}
@ -568,7 +568,7 @@ lws_spa_destroy(struct lws_spa *spa)
{
int n = 0;
lwsl_notice("%s: destroy spa %p\n", __func__, spa);
lwsl_info("%s: destroy spa %p\n", __func__, spa);
if (spa->s)
lws_urldecode_s_destroy(spa->s);

View file

@ -1522,7 +1522,7 @@ deal_body:
(long long)wsi->http.rx_content_length,
wsi->upgraded_to_http2, wsi->http2_substream);
if (wsi->http.rx_content_length > 0) {
lwsl_notice("%s: %p: LWSS_HTTP_BODY state set\n",
lwsl_info("%s: %p: LWSS_HTTP_BODY state set\n",
__func__, wsi);
wsi->state = LWSS_HTTP_BODY;
wsi->http.rx_content_remain =