summaryrefslogtreecommitdiff
path: root/ot_http.c
diff options
context:
space:
mode:
authorerdgeist <>2008-01-17 10:46:25 +0000
committererdgeist <>2008-01-17 10:46:25 +0000
commit408c5f98ed073e43560be5319080a34104441e6a (patch)
treeac48629c99a79a360b4deb6309b83cbc4e953223 /ot_http.c
parent7050e027d3b7d353dce6a8e100e54d71a46a8063 (diff)
Introducing live busy network detection.
Diffstat (limited to 'ot_http.c')
-rw-r--r--ot_http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ot_http.c b/ot_http.c
index 7b0e7ae..682195b 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -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;