TT#89352 increase LWS max write logging size

Change-Id: I7572b2dc5a82d6ed9a73652c108cc400c445d0a6
pull/1346/head
Richard Fuchs 5 years ago
parent 24665ebc90
commit ca1d2af47e

@ -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); 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; size_t to_send = wo->str->len - wo->str_done - LWS_SEND_BUFFER_POST_PADDING;
if (to_send) { if (to_send) {
if (to_send > 500) if (to_send > 2000)
ilogs(http, LOG_DEBUG, "Writing %lu bytes to LWS", (unsigned long) to_send); ilogs(http, LOG_DEBUG, "Writing %lu bytes to LWS", (unsigned long) to_send);
else else
ilogs(http, LOG_DEBUG, "Writing back to LWS: '%.*s'", ilogs(http, LOG_DEBUG, "Writing back to LWS: '%.*s'",

Loading…
Cancel
Save