Browse Source

TT#89352 increase LWS max write logging size

Change-Id: I7572b2dc5a82d6ed9a73652c108cc400c445d0a6
pull/1346/head
Richard Fuchs 4 years ago
parent
commit
ca1d2af47e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/websocket.c

+ 1
- 1
daemon/websocket.c View File

@ -233,7 +233,7 @@ static int websocket_dequeue(struct websocket_conn *wc) {
g_string_set_size(wo->str, wo->str->len + LWS_SEND_BUFFER_POST_PADDING);
size_t to_send = wo->str->len - wo->str_done - LWS_SEND_BUFFER_POST_PADDING;
if (to_send) {
if (to_send > 500)
if (to_send > 2000)
ilogs(http, LOG_DEBUG, "Writing %lu bytes to LWS", (unsigned long) to_send);
else
ilogs(http, LOG_DEBUG, "Writing back to LWS: '%.*s'",


Loading…
Cancel
Save