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

Detection of timeout in cursor.next()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0-RC1
    • None

    Description

      Connection timeout may be detected while calling cursor.netx(). However the code throws plain LdapException in that case. There is no reliable way how to detect that the error was really a timeout and reconnect.
      Fix: create new exception for timeout and throw that instead of LdapException.

      Attachments

        Activity

          People

            Unassigned Unassigned
            semancik Radovan Semancik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: