directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRAPI-207) Expose the underlying socket config
Date Mon, 17 Oct 2016 05:50:58 GMT

     [ https://issues.apache.org/jira/browse/DIRAPI-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny resolved DIRAPI-207.
--------------------------------------
    Resolution: Fixed

Issue fixed with http://svn.apache.org/viewvc?rev=1765211&view=rev

> Expose the underlying socket config
> -----------------------------------
>
>                 Key: DIRAPI-207
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-207
>             Project: Directory Client API
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-M24
>            Reporter: Emmanuel Lecharny
>             Fix For: 1.0.0-RC2
>
>
> Currently, we open a new connection with the default socket configuration :
> {code}
>     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 );
>             ...
> {code}
> We should allow a user to pass some configuration parameter, for instead, the SO_LINGER
config.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message