Loading CHANGES +2 −0 Changes for CHANGES: 2 added lines, 0 removed lines. Original line number Diff line number Diff line -*- coding: utf-8 -*- Changes with Apache 2.5.0 *) error log hook: add conn_rec as a parameter. [Jeff Trawick] *) mod_ssl: drop support for the SSLv2 protocol. [Kaspar Brand] *) mod_lua: Stop losing track of all but the most specific LuaHook* directives Loading include/ap_mmn.h +1 −0 Changes for include/ap_mmn.h: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -365,6 +365,7 @@ * 20111025.1 (2.3.15-dev) Add ap_escape_urlencoded(), ap_escape_urlencoded_buffer() * and ap_unescape_urlencoded(). * 20111025.2 (2.3.15-dev) Add ap_lua_ssl_val to mod_lua * 20111118.0 (2.5.0-dev) Add conn_rec to error_log hook */ #define MODULE_MAGIC_COOKIE 0x41503234UL /* "AP24" */ Loading include/http_log.h +3 −2 Changes for include/http_log.h: 3 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -633,6 +633,7 @@ AP_DECLARE(apr_file_t *) ap_piped_log_write_fd(piped_log *pl); * @param level The level of this error message * @param status The status code from the previous command * @param s The server which we are logging for * @param c The connection which we are logging for * @param r The request which we are logging for * @param pool Memory pool to allocate from * @param errstr message to log Loading @@ -640,8 +641,8 @@ AP_DECLARE(apr_file_t *) ap_piped_log_write_fd(piped_log *pl); AP_DECLARE_HOOK(void, error_log, (const char *file, int line, int module_index, int level, apr_status_t status, const server_rec *s, const request_rec *r, apr_pool_t *pool, const char *errstr)) const conn_rec *c, const request_rec *r, apr_pool_t *pool, const char *errstr)) /** * hook method to generate unique id for connection or request Loading server/log.c +5 −5 Changes for server/log.c: 5 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -1264,8 +1264,8 @@ static void log_error_core(const char *file, int line, int module_index, if (!log_format) { /* only pass the real error string to the hook */ errstr[errstr_end] = '\0'; ap_run_error_log(file, line, module_index, level, status, s, r, pool, errstr + errstr_start); ap_run_error_log(file, line, module_index, level, status, s, c, r, pool, errstr + errstr_start); } *errstr = '\0'; Loading Loading @@ -1761,9 +1761,9 @@ AP_DECLARE(const char *) ap_parse_log_level(const char *str, int *val) AP_IMPLEMENT_HOOK_VOID(error_log, (const char *file, int line, int module_index, int level, apr_status_t status, const server_rec *s, const request_rec *r, apr_pool_t *pool, const char *errstr), (file, line, module_index, level, status, s, r, pool, errstr)) const conn_rec *c, const request_rec *r, apr_pool_t *pool, const char *errstr), (file, line, module_index, level, status, s, c, r, pool, errstr)) AP_IMPLEMENT_HOOK_RUN_FIRST(int, generate_log_id, (const conn_rec *c, const request_rec *r, Loading Loading
CHANGES +2 −0 Changes for CHANGES: 2 added lines, 0 removed lines. Original line number Diff line number Diff line -*- coding: utf-8 -*- Changes with Apache 2.5.0 *) error log hook: add conn_rec as a parameter. [Jeff Trawick] *) mod_ssl: drop support for the SSLv2 protocol. [Kaspar Brand] *) mod_lua: Stop losing track of all but the most specific LuaHook* directives Loading
include/ap_mmn.h +1 −0 Changes for include/ap_mmn.h: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -365,6 +365,7 @@ * 20111025.1 (2.3.15-dev) Add ap_escape_urlencoded(), ap_escape_urlencoded_buffer() * and ap_unescape_urlencoded(). * 20111025.2 (2.3.15-dev) Add ap_lua_ssl_val to mod_lua * 20111118.0 (2.5.0-dev) Add conn_rec to error_log hook */ #define MODULE_MAGIC_COOKIE 0x41503234UL /* "AP24" */ Loading
include/http_log.h +3 −2 Changes for include/http_log.h: 3 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -633,6 +633,7 @@ AP_DECLARE(apr_file_t *) ap_piped_log_write_fd(piped_log *pl); * @param level The level of this error message * @param status The status code from the previous command * @param s The server which we are logging for * @param c The connection which we are logging for * @param r The request which we are logging for * @param pool Memory pool to allocate from * @param errstr message to log Loading @@ -640,8 +641,8 @@ AP_DECLARE(apr_file_t *) ap_piped_log_write_fd(piped_log *pl); AP_DECLARE_HOOK(void, error_log, (const char *file, int line, int module_index, int level, apr_status_t status, const server_rec *s, const request_rec *r, apr_pool_t *pool, const char *errstr)) const conn_rec *c, const request_rec *r, apr_pool_t *pool, const char *errstr)) /** * hook method to generate unique id for connection or request Loading
server/log.c +5 −5 Changes for server/log.c: 5 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -1264,8 +1264,8 @@ static void log_error_core(const char *file, int line, int module_index, if (!log_format) { /* only pass the real error string to the hook */ errstr[errstr_end] = '\0'; ap_run_error_log(file, line, module_index, level, status, s, r, pool, errstr + errstr_start); ap_run_error_log(file, line, module_index, level, status, s, c, r, pool, errstr + errstr_start); } *errstr = '\0'; Loading Loading @@ -1761,9 +1761,9 @@ AP_DECLARE(const char *) ap_parse_log_level(const char *str, int *val) AP_IMPLEMENT_HOOK_VOID(error_log, (const char *file, int line, int module_index, int level, apr_status_t status, const server_rec *s, const request_rec *r, apr_pool_t *pool, const char *errstr), (file, line, module_index, level, status, s, r, pool, errstr)) const conn_rec *c, const request_rec *r, apr_pool_t *pool, const char *errstr), (file, line, module_index, level, status, s, c, r, pool, errstr)) AP_IMPLEMENT_HOOK_RUN_FIRST(int, generate_log_id, (const conn_rec *c, const request_rec *r, Loading