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

2024-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66421

Christophe JAILLET  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Christophe JAILLET  ---
This was backported in 2.4.x branch in r1908027 and is part of version 2.4.56.

-- 
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 66421] Setting LDAPConnectionPoolTTL to -1 (default value) prevents apache to start

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

Christophe JAILLET  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW

--- Comment #4 from Christophe JAILLET  ---
Thanks for the feed-back.

Fixed in trunk in r1907024.
Proposed for 2.4.x backport in r1907025.

-- 
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 66421] Setting LDAPConnectionPoolTTL to -1 (default value) prevents apache to start

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

--- Comment #3 from nailyk  ---
Confirmed the patch you provided fix the issue. Apache is now starting. 

Thank you very much !

-- 
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 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 66421] Setting LDAPConnectionPoolTTL to -1 (default value) prevents apache to start

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

nailyk  changed:

   What|Removed |Added

 CC||bzapa...@nailyk.fr

-- 
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 66421] Setting LDAPConnectionPoolTTL to -1 (default value) prevents apache to start

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

--- Comment #1 from nailyk  ---
Created attachment 38464
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38464=edit
Patch proposal for 2.4.54 LDAPConnectionPoolTTL=-1 fix v1

Not the ideal solution but it seems to work. 
(Still testing but, at least, Apache is now starting)

-- 
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