This is an automated email from the ASF dual-hosted git repository.

chug pushed a commit to branch dev-protocol-adaptors-2
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/dev-protocol-adaptors-2 by 
this push:
     new f926a6c  DISPATCH-1826: Fix tcp adaptor stall on large messages
f926a6c is described below

commit f926a6c1b9b61f08a2fdd7c7436496bd771516d5
Author: Chuck Rolke <c...@apache.org>
AuthorDate: Wed Nov 18 10:40:35 2020 -0500

    DISPATCH-1826: Fix tcp adaptor stall on large messages
---
 src/adaptors/tcp_adaptor.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/adaptors/tcp_adaptor.c b/src/adaptors/tcp_adaptor.c
index 742a42c..7476808 100644
--- a/src/adaptors/tcp_adaptor.c
+++ b/src/adaptors/tcp_adaptor.c
@@ -512,6 +512,7 @@ static void handle_connection_event(pn_event_t *e, 
qd_server_t *qd_server, void
     case PN_RAW_CONNECTION_NEED_WRITE_BUFFERS: {
         qd_log(log, QD_LOG_DEBUG, "[C%"PRIu64"] Need write buffers", 
conn->conn_id);
         while (qdr_connection_process(conn->conn)) {}
+        handle_outgoing(conn);
         break;
     }
     case PN_RAW_CONNECTION_NEED_READ_BUFFERS: {


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

Reply via email to