You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
545 B

Index: php5-5.4.45/sapi/fpm/fpm/fpm_log.c
===================================================================
--- php5-5.4.45.orig/sapi/fpm/fpm/fpm_log.c 2016-08-19 14:18:55.000000000 +0200
+++ php5-5.4.45/sapi/fpm/fpm/fpm_log.c 2016-08-19 14:18:55.000000000 +0200
@@ -451,6 +451,11 @@
len = FPM_LOG_BUFFER;
break;
}
+ if (len >= FPM_LOG_BUFFER) {
+ zlog(ZLOG_NOTICE, "the log buffer is full (%d). The access log request has been truncated.", FPM_LOG_BUFFER);
+ len = FPM_LOG_BUFFER;
+ break;
+ }
continue;
}