kgiusti commented on a change in pull request #433: DISPATCH-1234 - Zero out
the edge context on the link before the edge…
URL: https://github.com/apache/qpid-dispatch/pull/433#discussion_r245089130
##########
File path: src/router_core/modules/edge_addr_tracking/edge_addr_tracking.c
##########
@@ -237,7 +243,9 @@ static void on_addr_event(void *context, qdrc_event_t
event, qdr_address_t *addr
if(inlink->link->edge_context != 0) {
qdr_addr_endpoint_state_t *endpoint_state =
(qdr_addr_endpoint_state_t *)inlink->link->edge_context;
qdrc_endpoint_t *endpoint = endpoint_state->endpoint;
- qdrc_send_message(addr_tracking->core, addr, endpoint,
false);
+ assert(endpoint != (void *)0x9999999999999999);
Review comment:
nuke me
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]