stats upgrade rx tx to long long
Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
parent
8b02454634
commit
c25b290b20
2 changed files with 4 additions and 3 deletions
|
@ -2380,8 +2380,8 @@ lws_json_dump_vhost(const struct lws_vhost *vh, char *buf, int len)
|
|||
" \"port\":\"%d\",\n"
|
||||
" \"use_ssl\":\"%d\",\n"
|
||||
" \"sts\":\"%d\",\n"
|
||||
" \"rx\":\"%lu\",\n"
|
||||
" \"tx\":\"%lu\",\n"
|
||||
" \"rx\":\"%llu\",\n"
|
||||
" \"tx\":\"%llu\",\n"
|
||||
" \"conn\":\"%lu\",\n"
|
||||
" \"trans\":\"%lu\",\n"
|
||||
" \"ws_upg\":\"%lu\",\n"
|
||||
|
|
|
@ -658,7 +658,8 @@ struct lws_vhost {
|
|||
#ifndef LWS_NO_EXTENSIONS
|
||||
const struct lws_extension *extensions;
|
||||
#endif
|
||||
unsigned long rx, tx, conn, trans, ws_upgrades, http2_upgrades;
|
||||
unsigned long long rx, tx;
|
||||
unsigned long conn, trans, ws_upgrades, http2_upgrades;
|
||||
|
||||
int listen_port;
|
||||
unsigned int http_proxy_port;
|
||||
|
|
Loading…
Add table
Reference in a new issue