changed: config parameters: log_check_proxy_ip_header -> check_proxy_ip_header and log_proxy_ip_header -> proxy_ip_header
added: Request::ip_str (std::wstring) (string of the client's IP address) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1105 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -122,15 +122,6 @@ public:
|
||||
// default: false
|
||||
bool log_plugin_call;
|
||||
|
||||
// check whether there is a 'log_proxy_ip_header' header
|
||||
// and if so then log the IP address from it
|
||||
// default: false
|
||||
bool log_check_proxy_ip_header;
|
||||
|
||||
// proxy header representing the real IP address of a client
|
||||
// default: X-Real-IP
|
||||
std::wstring log_proxy_ip_header;
|
||||
|
||||
|
||||
// how many characters in values should be logged from POST parameters
|
||||
// default: 80
|
||||
@@ -766,6 +757,17 @@ public:
|
||||
bool allow_ezc_out_in_executable_items;
|
||||
|
||||
|
||||
// check whether there is a 'log_proxy_ip_header' header
|
||||
// and if so then log the IP address from it
|
||||
// default: false
|
||||
bool check_proxy_ip_header;
|
||||
|
||||
// proxy header representing the real IP address of a client
|
||||
// default: X_Real_IP
|
||||
std::wstring proxy_ip_header;
|
||||
|
||||
|
||||
|
||||
Config();
|
||||
bool ReadConfig(bool errors_to_stdout_, bool stdout_is_closed = true);
|
||||
|
||||
|
Reference in New Issue
Block a user