Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-207

Expose the underlying socket config

Attach filesAttach ScreenshotWatch issueCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0-M24
    • 1.0.0-RC2
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            elecharny Emmanuel L├ęcharny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment