Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.0-M24
-
None
Description
Currently, we open a new connection with the default socket configuration :
public boolean connect() throws LdapException { if ( ( ldapSession != null ) && connected.get() ) { // No need to connect if we already have a connected session return true; } // Create the connector if needed if ( connector == null ) { // Use only one thead inside the connector connector = new NioSocketConnector( 1 ); ...
We should allow a user to pass some configuration parameter, for instead, the SO_LINGER config.