[monitoring-plugins] plugins: check_http: Increase regexp limit

Tomas Mozes git at monitoring-plugins.org
Wed Apr 7 17:20:11 CEST 2021


 Module: monitoring-plugins
 Branch: master
 Commit: 0a58acc7052d4962d8fe68aeb6919b59dfdef1cf
 Author: Tomas Mozes <hydrapolic at gmail.com>
   Date: Wed Dec  5 12:50:53 2018 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=0a58acc

plugins: check_http: Increase regexp limit

---

 plugins/check_http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/check_http.c b/plugins/check_http.c
index 856e1e9..a25f1ec 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -72,7 +72,7 @@ int maximum_age = -1;
 
 enum {
   REGS = 2,
-  MAX_RE_SIZE = 256
+  MAX_RE_SIZE = 1024
 };
 #include "regex.h"
 regex_t preg;



More information about the Commits mailing list