mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
LWS_WITH_STATS: clean refactor dust
https://github.com/warmcat/libwebsockets/issues/1383
This commit is contained in:
parent
844b779130
commit
9ad08ec9c1
2 changed files with 4 additions and 3 deletions
|
@ -3507,7 +3507,7 @@ lws_stats_log_dump(struct lws_context *context)
|
|||
wl = pt->http.ah_wait_list;
|
||||
while (wl) {
|
||||
m++;
|
||||
wl = wl->ah_wait_list;
|
||||
wl = wl->http.ah_wait_list;
|
||||
}
|
||||
|
||||
lwsl_notice(" AH wait list count / actual: %d / %d\n",
|
||||
|
@ -3544,7 +3544,8 @@ lws_stats_log_dump(struct lws_context *context)
|
|||
strcpy(buf, "unknown");
|
||||
#if defined(LWS_ROLE_H1) || defined(LWS_ROLE_H2)
|
||||
lwsl_notice(" peer %s: count wsi: %d, count ah: %d\n",
|
||||
buf, df->count_wsi, df->count_ah);
|
||||
buf, df->count_wsi,
|
||||
df->http.count_ah);
|
||||
#else
|
||||
lwsl_notice(" peer %s: count wsi: %d\n",
|
||||
buf, df->count_wsi);
|
||||
|
|
|
@ -331,7 +331,7 @@ lws_ssl_capable_write(struct lws *wsi, unsigned char *buf, int len)
|
|||
if (m == SSL_ERROR_WANT_WRITE || SSL_want_write(wsi->tls.ssl)) {
|
||||
lws_set_blocking_send(wsi);
|
||||
|
||||
lwsl_notice("%s: want write\n", __func__);
|
||||
lwsl_debug("%s: want write\n", __func__);
|
||||
|
||||
return LWS_SSL_CAPABLE_MORE_SERVICE;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue