diff options
author | erdgeist <> | 2008-11-03 01:52:02 +0000 |
---|---|---|
committer | erdgeist <> | 2008-11-03 01:52:02 +0000 |
commit | 9c0b23e28dd2b1719cf969dfc37827c0c41d236d (patch) | |
tree | 761a8c619e0229f0e56e4e5db9d25c9d11b47d82 | |
parent | 3f5468672bce33ee86017b5e9cd5d9407b5d95ab (diff) |
Add stats about when peers renew their announces.
-rw-r--r-- | ot_http.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -265,6 +265,8 @@ static ssize_t http_handle_stats( const int64 client_socket, char *data, char *d | |||
265 | case 5: | 265 | case 5: |
266 | if( !byte_diff(data,5,"top10")) | 266 | if( !byte_diff(data,5,"top10")) |
267 | mode = TASK_STATS_TOP10; | 267 | mode = TASK_STATS_TOP10; |
268 | if( !byte_diff(data,5,"renew")) | ||
269 | mode = TASK_STATS_RENEW; | ||
268 | else | 270 | else |
269 | HTTPERROR_400_PARAM; | 271 | HTTPERROR_400_PARAM; |
270 | break; | 272 | break; |