From 2fb9ed5c1db1d383b0ccb8ca552626dc437d11ca Mon Sep 17 00:00:00 2001 From: "Yichun Zhang (agentzh)" Date: Thu, 5 Dec 2013 20:36:53 -0800 Subject: [PATCH] updated the larger_max_error_str patch to allow NGX_MAX_ERROR_STR to be redefined from the outside. --- patches/nginx-1.4.3-larger_max_error_str.patch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/patches/nginx-1.4.3-larger_max_error_str.patch b/patches/nginx-1.4.3-larger_max_error_str.patch index 2a135e9..c06dc71 100644 --- a/patches/nginx-1.4.3-larger_max_error_str.patch +++ b/patches/nginx-1.4.3-larger_max_error_str.patch @@ -1,11 +1,13 @@ --- 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 { ++++ nginx-1.4.3-patched/src/core/ngx_log.h 2013-12-05 20:35:35.996236720 -0800 +@@ -64,7 +64,9 @@ struct ngx_log_s { }; -#define NGX_MAX_ERROR_STR 2048 ++#ifndef NGX_MAX_ERROR_STR +#define NGX_MAX_ERROR_STR 4096 ++#endif /*********************************/