[dovecot/core] 8147f5: dict-ldap: Removed caching of ldap-clients

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


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 8147f5c13baa75e05e8c6135fe44ac6009ebc12c
      https://github.com/dovecot/core/commit/8147f5c13baa75e05e8c6135fe44ac6009ebc12c
  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: 9e6c76cae59ece71f72e33d8fac9025ee12eaf05
      https://github.com/dovecot/core/commit/9e6c76cae59ece71f72e33d8fac9025ee12eaf05
  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/969c46c1d078...9e6c76cae59e


More information about the dovecot-cvs mailing list