directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r713518 - /directory/apacheds/branches/apacheds-mina2/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java
Date Wed, 12 Nov 2008 21:38:54 GMT
Author: elecharny
Date: Wed Nov 12 13:38:40 2008
New Revision: 713518

URL: http://svn.apache.org/viewvc?rev=713518&view=rev
Log:
Modified the setup for the LDAP acceptor to set the reuseAddress flag to true.

Modified:
    directory/apacheds/branches/apacheds-mina2/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java

Modified: directory/apacheds/branches/apacheds-mina2/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mina2/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java?rev=713518&r1=713517&r2=713518&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mina2/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java
(original)
+++ directory/apacheds/branches/apacheds-mina2/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java
Wed Nov 12 13:38:40 2008
@@ -453,6 +453,9 @@
             // 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 );
         	



Mime
View raw message