1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

stats upgrade rx tx to long long

Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
Andy Green 2016-05-04 15:59:27 +08:00
parent 8b02454634
commit c25b290b20
2 changed files with 4 additions and 3 deletions

View file

@ -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"

View file

@ -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;