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

ss: reduce logging of unknown streamtypes

There are a few automatic things that look for streamtypes that may or
may not exist now

 - captive_portal_detect
 - fetch_policy
 - api_amazon_com_auth

logging them as notice every startup is pretty intrusive, change to info.
This commit is contained in:
Andy Green 2020-03-19 14:05:18 +00:00
parent 11837db0e0
commit 93d6ab929b

View file

@ -350,8 +350,8 @@ lws_ss_create(struct lws_context *context, int tsi, const lws_ss_info_t *ssi,
pol = lws_ss_policy_lookup(context, ssi->streamtype);
if (!pol) {
lwsl_notice("%s: unknown stream type %s\n", __func__,
ssi->streamtype);
lwsl_info("%s: unknown stream type %s\n", __func__,
ssi->streamtype);
return 1;
}