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 648ff4c DISPATCH-1851: Show proper link id in second_attach 648ff4c is described below commit 648ff4ce4bf87237ae27c845119d679f91c3b58a Author: Chuck Rolke <c...@apache.org> AuthorDate: Wed Nov 25 10:35:52 2020 -0500 DISPATCH-1851: Show proper link id in second_attach --- src/adaptors/tcp_adaptor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/adaptors/tcp_adaptor.c b/src/adaptors/tcp_adaptor.c index fe8ee26..e26a94d 100644 --- a/src/adaptors/tcp_adaptor.c +++ b/src/adaptors/tcp_adaptor.c @@ -907,8 +907,8 @@ static void qdr_tcp_second_attach(void *context, qdr_link_t *link, void* link_context = qdr_link_get_context(link); if (link_context) { qdr_tcp_connection_t* tc = (qdr_tcp_connection_t*) link_context; - qd_log(tcp_adaptor->log_source, QD_LOG_DEBUG, "[C%"PRIu64"][L%"PRIu64"] qdr_tcp_second_attach", tc->conn_id, qdr_tcp_conn_linkid(tc)); if (qdr_link_direction(link) == QD_OUTGOING) { + qd_log(tcp_adaptor->log_source, QD_LOG_DEBUG, "[C%"PRIu64"][L%"PRIu64"] qdr_tcp_second_attach", tc->conn_id, tc->outgoing_id); if (tc->ingress) { qdr_tcp_connection_copy_reply_to(tc, qdr_terminus_get_address(source)); // for ingress, can start reading from socket once we have @@ -919,6 +919,7 @@ static void qdr_tcp_second_attach(void *context, qdr_link_t *link, } qdr_link_flow(tcp_adaptor->core, link, 10, false); } else if (!tc->ingress) { + qd_log(tcp_adaptor->log_source, QD_LOG_DEBUG, "[C%"PRIu64"][L%"PRIu64"] qdr_tcp_second_attach", tc->conn_id, tc->incoming_id); //for egress we can start reading from the socket once we //have the link to send messages over grant_read_buffers(tc); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org