mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
feature: applied the larger_max_error_str patch to the nginx core to allow error log messages up to 4096 bytes.
This commit is contained in:
parent
157febe350
commit
1728ca8c66
11
patches/nginx-1.4.3-larger_max_error_str.patch
Normal file
11
patches/nginx-1.4.3-larger_max_error_str.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- nginx-1.4.3/src/core/ngx_log.h 2013-10-08 05:07:14.000000000 -0700
|
||||
+++ nginx-1.4.3-patched/src/core/ngx_log.h 2013-12-05 20:29:23.919775213 -0800
|
||||
@@ -64,7 +64,7 @@ struct ngx_log_s {
|
||||
};
|
||||
|
||||
|
||||
-#define NGX_MAX_ERROR_STR 2048
|
||||
+#define NGX_MAX_ERROR_STR 4096
|
||||
|
||||
|
||||
/*********************************/
|
@ -210,6 +210,10 @@ if [ "$answer" = "N" ]; then
|
||||
echo
|
||||
fi
|
||||
|
||||
echo "$info_txt applying the larger_max_error_str patch for nginx $ver"
|
||||
patch -p1 < $root/patches/nginx-$ver-larger_max_error_str.patch || exit 1
|
||||
echo
|
||||
|
||||
rm -f *.patch || exit 1
|
||||
|
||||
cd .. || exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user