Report WS disconnection at DEBUG to avoid log spam

master
Jessie Murray 3 years ago
parent 974556defb
commit d0acdf030e
No known key found for this signature in database
GPG Key ID: E7E4D57EDDA744C5

@ -343,7 +343,7 @@ ws_add_data(struct http_client *c) {
if(ret != 0) {
/* can't process frame. */
slog(c->s, WEBDIS_WARNING, "ws_add_data: ws_execute failed", 0);
slog(c->s, WEBDIS_DEBUG, "ws_add_data: ws_execute failed", 0);
return WS_ERROR;
}
state = ws_parse_data(c->buffer, c->sz, &c->frame);

Loading…
Cancel
Save