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

Matthew Swift
14.51.2012 753025eb3bedbe83486fc36d276f934f901283e0
Fix OPENDJ-420: Rare SSLExceptions while handling LDAPS connections and big LDAP searches

Correct a couple of minor typos in the comments.


1 files modified
5 ■■■■■ changed files
opends/src/server/org/opends/server/extensions/TLSByteChannel.java 5 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/extensions/TLSByteChannel.java
@@ -131,8 +131,7 @@
    {
      synchronized (readLock)
      {
        // Repeat until there is some unwrapped data available or all available
        // data has been read from the underlying socket.
        // Only read and unwrap new data if needed.
        if (!recvUnwrappedBuffer.hasRemaining())
        {
          final int read = doRecvAndUnwrap();
@@ -147,7 +146,7 @@
        final int startPos = unwrappedData.position();
        if (recvUnwrappedBuffer.remaining() > unwrappedData.remaining())
        {
          // Unwrapped data does not fit in client buffer so copy one by at a
          // Unwrapped data does not fit in client buffer so copy one byte at a
          // time: it's annoying that there is no easy way to do this with
          // ByteBuffers.
          while (unwrappedData.hasRemaining())