mirror of
git://erdgeist.org/opentracker
synced 2025-02-09 21:46:23 +00:00
Add stats about when peers renew their announces.
This commit is contained in:
parent
3f5468672b
commit
9c0b23e28d
@ -265,6 +265,8 @@ static ssize_t http_handle_stats( const int64 client_socket, char *data, char *d
|
|||||||
case 5:
|
case 5:
|
||||||
if( !byte_diff(data,5,"top10"))
|
if( !byte_diff(data,5,"top10"))
|
||||||
mode = TASK_STATS_TOP10;
|
mode = TASK_STATS_TOP10;
|
||||||
|
if( !byte_diff(data,5,"renew"))
|
||||||
|
mode = TASK_STATS_RENEW;
|
||||||
else
|
else
|
||||||
HTTPERROR_400_PARAM;
|
HTTPERROR_400_PARAM;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user