qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oru...@apache.org
Subject [qpid-broker-j] branch 7.0.x updated: QPID-8273: [Broker-J] Set notify work on channel reaching end-of-read-stream
Date Wed, 13 Feb 2019 23:03:28 GMT
This is an automated email from the ASF dual-hosted git repository.

orudyy pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new 2e72e83  QPID-8273: [Broker-J] Set notify work on channel reaching end-of-read-stream
2e72e83 is described below

commit 2e72e832d9b8274cc09f7f1cfba313a40f8cc0da
Author: Alex Rudyy <orudyy@apache.org>
AuthorDate: Wed Feb 13 15:50:56 2019 +0000

    QPID-8273: [Broker-J] Set notify work on channel reaching end-of-read-stream
    
    (cherry picked from commit 94de25eb9fb8be6e6deba38a72afcf7b14ce1d0b)
---
 .../java/org/apache/qpid/server/transport/NonBlockingConnection.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/broker-core/src/main/java/org/apache/qpid/server/transport/NonBlockingConnection.java
b/broker-core/src/main/java/org/apache/qpid/server/transport/NonBlockingConnection.java
index 48dcb37..843e3d7 100644
--- a/broker-core/src/main/java/org/apache/qpid/server/transport/NonBlockingConnection.java
+++ b/broker-core/src/main/java/org/apache/qpid/server/transport/NonBlockingConnection.java
@@ -542,6 +542,7 @@ public class NonBlockingConnection implements ServerNetworkConnection,
ByteBuffe
         if (read == -1)
         {
             _closed.set(true);
+            _protocolEngine.notifyWork();
         }
 
         _partialRead = read != 0;


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


Mime
View raw message