[dovecot/core] 90afb1: dict-ldap: Removed caching of ldap-clients

GitHub noreply at github.com
Mon May 2 14:00:14 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 90afb170719aeed89a8d40a1a01d2bade2a3619b
      https://github.com/dovecot/core/commit/90afb170719aeed89a8d40a1a01d2bade2a3619b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-02 (Mon, 02 May 2016)

  Changed paths:
    M src/lib-dict-extra/dict-ldap.c

  Log Message:
  -----------
  dict-ldap: Removed caching of ldap-clients

With the previous per-username caching there could be a huge number of
dict-ldaps.


  Commit: 527dad09b4f11062bf34ce7ea5150a4e94c5185a
      https://github.com/dovecot/core/commit/527dad09b4f11062bf34ce7ea5150a4e94c5185a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-02 (Mon, 02 May 2016)

  Changed paths:
    M src/lib-dict-extra/dict-ldap.c
    M src/lib-ldap/Makefile.am
    M src/lib-ldap/ldap-client.c
    M src/lib-ldap/ldap-client.h
    A src/lib-ldap/ldap-connection-pool.c
    A src/lib-ldap/ldap-connection-pool.h
    M src/lib-ldap/ldap-connection.c
    M src/lib-ldap/ldap-private.h

  Log Message:
  -----------
  lib-ldap: Added initial connection pooling code.

This is mainly about allowing multiple dict-ldaps to use the same
ldap-connection. In future we could support load balancing with multiple
concurrent LDAP connections.


Compare: https://github.com/dovecot/core/compare/f3781e51f41f...527dad09b4f1


More information about the dovecot-cvs mailing list