mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
21.00.2007 727d1add5f833dea644d09351d70f542e60a240e
Change the SO_LINGER setting in the LDAPConnection class to use a timeout of 1
second rather than 0 seconds. It appears that a value of 0 seconds is
incompatible with some JVM versions.

OpenDS Issue Number: 1249
1 files modified
2 ■■■ changed files
opends/src/server/org/opends/server/tools/LDAPConnection.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPConnection.java
@@ -250,7 +250,7 @@
    // commands are called A LOT, as in the unit tests.
    try
    {
      socket.setSoLinger(true, 0);
      socket.setSoLinger(true, 1);
      socket.setReuseAddress(true);
    } catch(IOException e)
    {