qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kw...@apache.org
Subject svn commit: r1671262 - /qpid/trunk/qpid/java/broker-core/src/main/java/org/apache/qpid/server/transport/NonBlockingConnection.java
Date Sat, 04 Apr 2015 10:32:40 GMT
Author: kwall
Date: Sat Apr  4 10:32:40 2015
New Revision: 1671262

URL: http://svn.apache.org/r1671262
Log:
QPID-6429: [Java Broker] Add more logging to investigate the failure to close AMQPS Port on
CI Instance (sporadic SSLTest failure)

Modified:
    qpid/trunk/qpid/java/broker-core/src/main/java/org/apache/qpid/server/transport/NonBlockingConnection.java

Modified: qpid/trunk/qpid/java/broker-core/src/main/java/org/apache/qpid/server/transport/NonBlockingConnection.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker-core/src/main/java/org/apache/qpid/server/transport/NonBlockingConnection.java?rev=1671262&r1=1671261&r2=1671262&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker-core/src/main/java/org/apache/qpid/server/transport/NonBlockingConnection.java
(original)
+++ qpid/trunk/qpid/java/broker-core/src/main/java/org/apache/qpid/server/transport/NonBlockingConnection.java
Sat Apr  4 10:32:40 2015
@@ -405,6 +405,12 @@ public class NonBlockingConnection imple
                             ByteBuffer.allocate(_sslEngine.getSession().getApplicationBufferSize()
+ 50);
 
                     _status = _sslEngine.unwrap(_netInputBuffer, appInputBuffer);
+                    if (_status.getStatus() == SSLEngineResult.Status.CLOSED)
+                    {
+                        // KW If SSLEngine changes state to CLOSED, what will ever set _closed
to true?
+                        LOGGER.debug("SSLEngine closed");
+                    }
+
                     tasksRun = runSSLEngineTasks(_status);
 
                     appInputBuffer.flip();



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message