Github user ted-ross commented on a diff in the pull request:
https://github.com/apache/qpid-dispatch/pull/12#discussion_r41256741
--- Diff: src/server.c ---
@@ -282,6 +294,16 @@ static void thread_process_listeners_LH(qd_server_t
*qd_server)
pn_transport_set_max_frame(tport, config->max_frame_size);
pn_transport_set_idle_timeout(tport, config->idle_timeout_seconds
* 1000);
+ //
+ // Proton pushes out its trace to qd_log_tracer() which in turn
writes a trace message to the qdrouter log
+ // If trace level logging is enabled on the router set
PN_TRACE_FRM on the proton transport
+ //
+ if (qd_log_enabled(qd_server->log_source, QD_LOG_TRACE)) {
+ pn_transport_set_context(tport, ctx);
--- End diff --
We should set the context unconditionally on all transports.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]