mirror of
git://erdgeist.org/opentracker
synced 2025-04-21 21:52:00 +02:00
Add stats about when peers renew their announces.
This commit is contained in:
parent
3f5468672b
commit
9c0b23e28d
1 changed files with 2 additions and 0 deletions
|
@ -265,6 +265,8 @@ static ssize_t http_handle_stats( const int64 client_socket, char *data, char *d
|
|||
case 5:
|
||||
if( !byte_diff(data,5,"top10"))
|
||||
mode = TASK_STATS_TOP10;
|
||||
if( !byte_diff(data,5,"renew"))
|
||||
mode = TASK_STATS_RENEW;
|
||||
else
|
||||
HTTPERROR_400_PARAM;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue