httpd/backport-fix-error-HeartbeatMaxServers-default-value.patch
chengyechun b981a203d9 change default value of HeartbeatMaxServers
fix setting and comparison of IPs fileds
avoid voerflow in case of indecently large session
make ap_escape_quotes() work correctly
fix lua_request with cast first
Handle children killed pathologically
q
2022-12-14 10:54:40 +08:00

29 lines
856 B
Diff

From b64b0488b12dc81df972bff4747d9b9c68fbad3f Mon Sep 17 00:00:00 2001
From: jimjag <jimjag@gmail.com>
Date: Mon May 9 2022 17:54:42 UTC
Subject: [PATCH] mod_heartmonitor:fix error HeartbeatMaxServers default value
Conflict:NA
Reference:https://github.com/apache/httpd/commit/b64b0488b12dc81df972bff4747d9b9c68fbad3f
---
modules/cluster/mod_heartmonitor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c
index 2e8d12d..bfda7f8 100644
--- a/modules/cluster/mod_heartmonitor.c
+++ b/modules/cluster/mod_heartmonitor.c
@@ -39,7 +39,7 @@
static const ap_slotmem_provider_t *storage = NULL;
static ap_slotmem_instance_t *slotmem = NULL;
-static int maxworkers = 0;
+static int maxworkers = 10;
module AP_MODULE_DECLARE_DATA heartmonitor_module;
--
2.23.0