vt-middleware / ldaptive

A simple, extensible Java API for interacting with LDAP servers
56 stars 26 forks source link

Connection validator can't block in netty pipeline #188

Closed dfish3r closed 3 years ago

dfish3r commented 3 years ago

Connection validation is implemented via the context executor on channel activation. That scheduled task should not block the thread pool when it executes.

Refactor connection validation to provide a non-blocking implementation to support this scenario.

dfish3r commented 3 years ago

Note that this form of validation is separate from connection pool validation and it's primary use case is with the SingleConnectionFactory.

dfish3r commented 3 years ago

Fixed in MR #189