diff options
author | erdgeist <> | 2008-01-17 10:46:25 +0000 |
---|---|---|
committer | erdgeist <> | 2008-01-17 10:46:25 +0000 |
commit | 408c5f98ed073e43560be5319080a34104441e6a (patch) | |
tree | ac48629c99a79a360b4deb6309b83cbc4e953223 /ot_http.c | |
parent | 7050e027d3b7d353dce6a8e100e54d71a46a8063 (diff) |
Introducing live busy network detection.
Diffstat (limited to 'ot_http.c')
-rw-r--r-- | ot_http.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -259,6 +259,8 @@ static ssize_t http_handle_stats( const int64 client_socket, char *data, char *d | |||
259 | mode = TASK_STATS_TORADDREM; | 259 | mode = TASK_STATS_TORADDREM; |
260 | else if( !byte_diff(data,4,"vers")) | 260 | else if( !byte_diff(data,4,"vers")) |
261 | mode = TASK_STATS_VERSION; | 261 | mode = TASK_STATS_VERSION; |
262 | else if( !byte_diff(data,4,"busy")) | ||
263 | mode = TASK_STATS_BUSY_NETWORKS; | ||
262 | else | 264 | else |
263 | HTTPERROR_400_PARAM; | 265 | HTTPERROR_400_PARAM; |
264 | break; | 266 | break; |