qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cliffjan...@apache.org
Subject svn commit: r1587630 - /qpid/branches/0.28/qpid/cpp/src/qpid/sys/windows/SslAsynchIO.cpp
Date Tue, 15 Apr 2014 16:26:29 GMT
Author: cliffjansen
Date: Tue Apr 15 16:26:29 2014
New Revision: 1587630

URL: http://svn.apache.org/r1587630
Log:
QPID-5694: Windows C++ broker SSL: do not send non-existent negotiation token on shutdown
(0.28 branch)

Modified:
    qpid/branches/0.28/qpid/cpp/src/qpid/sys/windows/SslAsynchIO.cpp

Modified: qpid/branches/0.28/qpid/cpp/src/qpid/sys/windows/SslAsynchIO.cpp
URL: http://svn.apache.org/viewvc/qpid/branches/0.28/qpid/cpp/src/qpid/sys/windows/SslAsynchIO.cpp?rev=1587630&r1=1587629&r2=1587630&view=diff
==============================================================================
--- qpid/branches/0.28/qpid/cpp/src/qpid/sys/windows/SslAsynchIO.cpp (original)
+++ qpid/branches/0.28/qpid/cpp/src/qpid/sys/windows/SslAsynchIO.cpp Tue Apr 15 16:26:29 2014
@@ -661,7 +661,7 @@ void ServerSslAsynchIO::negotiateStep(Bu
         return;
     }
     // There may have been a token generated; if so, send it to the client.
-    if (sendBuffs[0].cbBuffer > 0) {
+    if (sendBuffs[0].cbBuffer > 0 && state != ShuttingDown) {
         sendbuff->dataCount = sendBuffs[0].cbBuffer;
         aio->queueWrite(sendbuff);
     }



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


Mime
View raw message