[Bug 66421] Setting LDAPConnectionPoolTTL to -1 (default value) prevents apache to start

2023-01-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66421

Christophe JAILLET  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #2 from Christophe JAILLET  ---
Hi,

Maybe the (untested) patch below is enough.
Can you give it a try?

Index: util_ldap.c
===
--- util_ldap.c (révision 1906512)
+++ util_ldap.c (copie de travail)
@@ -2817,12 +2817,14 @@
   void *dummy,
   const char *val)
 {
-apr_interval_time_t timeout;
+apr_interval_time_t timeout = -1;
 util_ldap_state_t *st =
 (util_ldap_state_t *)ap_get_module_config(cmd->server->module_config,
   _module);

-if (ap_timeout_parameter_parse(val, , "s") != APR_SUCCESS) {
+/* Negative values mean AP_LDAP_CONNPOOL_INFINITE */
+if (val[0] != '-' &&
+ap_timeout_parameter_parse(val, , "s") != APR_SUCCESS) {
 return "LDAPConnectionPoolTTL has wrong format";
 }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 66417] Unable to restart the hosts due to slotmem issue in RH OS

2023-01-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66417

Ankit kumar  changed:

   What|Removed |Added

   Severity|normal  |critical

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org