You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2010/09/02 09:09:01 UTC

svn commit: r991824 - /directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java

Author: kayyagari
Date: Thu Sep  2 07:09:00 2010
New Revision: 991824

URL: http://svn.apache.org/viewvc?rev=991824&view=rev
Log:
o removed call to set reuseAddress flag on acceptor, this flag will be already set during the creation of the associated transport
  (this fixes DIRSERVER-1420)

Modified:
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java?rev=991824&r1=991823&r2=991824&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java (original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java Thu Sep  2 07:09:00 2010
@@ -578,9 +578,6 @@ public class LdapServer extends Director
             // Disable the disconnection of the clients on unbind
             acceptor.setCloseOnDeactivation( false );
 
-            // Allow the port to be reused even if the socket is in TIME_WAIT state
-            acceptor.setReuseAddress( true );
-
             // No Nagle's algorithm
             acceptor.getSessionConfig().setTcpNoDelay( true );