httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47634] New: mod_ldap connection pool session keepalive not implemented
Date Tue, 04 Aug 2009 09:12:51 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47634

           Summary: mod_ldap connection pool session keepalive not
                    implemented
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ldap
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jagusztinl@freemail.hu


--- Comment #0 from jagusztinl@freemail.hu 2009-08-04 02:12:48 PDT ---
We found that mod_ldap unable to work through firewalls, because ldap session
keepalive not implemented in it. There is not always possible to solve
keepalive on the server side, because of operation policies, too far from
client etc., but we need it because of ldap connection pooling.

So mod_ldap client keepalive should be implemented. 
We patched the code (## line) to implement a workaround for the missing
functionality:

   ./modules/ldap/util_ldap.c:

                    static void uldap_connection_close(util_ldap_connection_t
*ldc)
                    {

                        /*
                        * QUESTION:
                        *
                        * Is it safe leaving bound connections floating around
between the
                        * different modules? Keeping the user bound is a
performance boost,
                        * but it is also a potential security problem - maybe.
                        *
                        * For now we unbind the user when we finish with a
connection, but
                        * we don't have to...
                        */
                        uldap_connection_unbind(ldc);      ## mod by RZS

                        /* mark our connection as available for reuse */

                    #if APR_HAS_THREADS
                        apr_thread_mutex_unlock(ldc->lock);
                    #endif
                    }

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message