|
|
@ -253,10 +253,12 @@ static ssize_t http_handle_stats( const int64 client_socket, char *data, char *d
|
|
|
|
mode = TASK_STATS_TPB;
|
|
|
|
mode = TASK_STATS_TPB;
|
|
|
|
else if( !byte_diff(data,4,"herr"))
|
|
|
|
else if( !byte_diff(data,4,"herr"))
|
|
|
|
mode = TASK_STATS_HTTPERRORS;
|
|
|
|
mode = TASK_STATS_HTTPERRORS;
|
|
|
|
else if( !byte_diff(data,9,"startstop"))
|
|
|
|
else if( !byte_diff(data,4,"startstop"))
|
|
|
|
mode = TASK_STATS_STARTSTOP;
|
|
|
|
mode = TASK_STATS_STARTSTOP;
|
|
|
|
else if( !byte_diff(data,10,"toraddrem"))
|
|
|
|
else if( !byte_diff(data,4,"toraddrem"))
|
|
|
|
mode = TASK_STATS_TORADDREM;
|
|
|
|
mode = TASK_STATS_TORADDREM;
|
|
|
|
|
|
|
|
else if( !byte_diff(data,4,"vers"))
|
|
|
|
|
|
|
|
mode = TASK_STATS_VERSION;
|
|
|
|
else
|
|
|
|
else
|
|
|
|
HTTPERROR_400_PARAM;
|
|
|
|
HTTPERROR_400_PARAM;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|