diff options
Diffstat (limited to 'server/server/config.h')
-rwxr-xr-x | server/server/config.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server/server/config.h b/server/server/config.h index 40f5985..2b37cbf 100755 --- a/server/server/config.h +++ b/server/server/config.h @@ -156,7 +156,6 @@ public: const int config_reload_interval(); const int proxy_check_interval(); const int check_interval(); - const int debug(); const int dos_conn_count(); std::list<std::string>* cli_cfg(); void load_vars(); @@ -168,6 +167,8 @@ public: void load_deleted_list(char* pth = NULL); void load_servers_list(char* pth = NULL); bool ignore_ssl_errors(); + bool debug(); + bool raw_debug(); bool log_speed(); const std::string& bind_ip(); const std::string& log_path(); @@ -192,10 +193,10 @@ private: struct cfg_data { int ban_time, conn_count, check_interval, dos_conn_count, conn_time, config_reload_interval, proxy_check_interval; - bool ignore_ssl_errors, log_speed, debug; + bool ignore_ssl_errors, log_speed, debug, raw_debug; std::string log_path, bind_ip, dos_log_path, speed_test_file_url; cfg_data(): ban_time(60), check_interval(30), dos_conn_count(200), conn_time(60), config_reload_interval(600), proxy_check_interval(3600), - ignore_ssl_errors(false), log_speed(false), debug(false) + ignore_ssl_errors(false), log_speed(false), debug(false), raw_debug(false) {} }; std::string config_path, cli_config_path; |