mirror of
				https://github.com/openresty/openresty.git
				synced 2024-10-13 00:29:41 +00:00 
			
		
		
		
	upgrade the nginx core to 1.19.2.
This commit is contained in:
		
							
								
								
									
										13
									
								
								patches/nginx-1.19.2-larger_max_error_str.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								patches/nginx-1.19.2-larger_max_error_str.patch
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,13 @@
 | 
			
		||||
--- nginx-1.19.2/src/core/ngx_log.h	2013-10-08 05:07:14.000000000 -0700
 | 
			
		||||
+++ nginx-1.19.2-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
 | 
			
		||||
 
 | 
			
		||||
 
 | 
			
		||||
 /*********************************/
 | 
			
		||||
		Reference in New Issue
	
	Block a user