directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <>
Subject [jira] [Created] (DIRAPI-230) Connection to invalid host blocks for 30 seconds
Date Mon, 30 Mar 2015 21:18:53 GMT
Stefan Seelmann created DIRAPI-230:

             Summary: Connection to invalid host blocks for 30 seconds
                 Key: DIRAPI-230
             Project: Directory Client API
          Issue Type: Bug
    Affects Versions: 1.0.0-M28, 1.0.0-M29
            Reporter: Stefan Seelmann
             Fix For: 1.0.0-M30

Connection to an invalid host like this

        LdapNetworkConnection conn = new LdapNetworkConnection( "qwertyuiopasdfghjklzxcvbnm",
12389 );

results in a nice exception (InvalidConnectionException / UnresolvedAddressException).

However it tries to connect for 30 seconds, only after that the exception is thrown. This
looks like the default timeout is considered. I think the exception should be thrown faster.

This message was sent by Atlassian JIRA

View raw message