mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
feature: applied the intercept_error_log patch to the nginx core to provide 3rd-party modules a hook to intercept nginx error log data without touching files.
3rd-party modules can register a custom interception hook to ngx_http_core_main_conf_t.intercept_log_handler. Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
This commit is contained in:
committed by
Yichun Zhang (agentzh)
parent
e767256038
commit
7a7576319e
@ -55,9 +55,19 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "$info_txt applying the privileged-agent-process patch"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-privileged_agent_process.patch || exit 1
|
||||
echo
|
||||
answer=`$root/util/ver-ge "$main_ver" 1.11.2`
|
||||
if [ "$answer" = "Y" ]; then
|
||||
echo "$info_txt applying the privileged-agent-process patch"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-privileged_agent_process.patch || exit 1
|
||||
echo
|
||||
fi
|
||||
|
||||
answer=`$root/util/ver-ge "$main_ver" 1.11.2`
|
||||
if [ "$answer" = "Y" ]; then
|
||||
echo "$info_txt applying the intercept-error-log patch"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-intercept_error_log.patch || exit 1
|
||||
echo
|
||||
fi
|
||||
|
||||
echo "$info_txt applying the upstream-pipelining patch for nginx"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-upstream_pipelining.patch || exit 1
|
||||
|
Reference in New Issue
Block a user