noirello / bonsai

Simple Python 3 module for LDAP, using libldap2 and winldap C libraries.
MIT License
116 stars 32 forks source link

Do not return closed connections to the pool #66

Closed rra closed 1 year ago

rra commented 1 year ago

If the connection has been closed when returned to a ConnectionPool with put, do not return it to the pool. Add documentation for handling connection timeout errors when using pools. Fixes #64.