This is an automated email from the ASF dual-hosted git repository.
kgiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
The following commit(s) were added to refs/heads/main by this push:
new 7ef3387 DISPATCH-2085: remove bad assertion in addr_proxy connection
handler
7ef3387 is described below
commit 7ef3387c74d1a9f3cf18161b5e78adcc86293809
Author: Kenneth Giusti <[email protected]>
AuthorDate: Mon Nov 1 10:48:28 2021 -0400
DISPATCH-2085: remove bad assertion in addr_proxy connection handler
---
src/router_core/modules/edge_router/addr_proxy.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/src/router_core/modules/edge_router/addr_proxy.c
b/src/router_core/modules/edge_router/addr_proxy.c
index 53ead53..d089bdb 100644
--- a/src/router_core/modules/edge_router/addr_proxy.c
+++ b/src/router_core/modules/edge_router/addr_proxy.c
@@ -318,15 +318,6 @@ static void on_conn_event(void *context, qdrc_event_t
event, qdr_connection_t *c
const char *key = (const char*)
qd_hash_key_by_handle(addr->hash_handle);
if (*key == QD_ITER_HASH_PREFIX_MOBILE) {
//
- // Nullify the edge link references in case there are any left
over from an earlier
- // instance of an edge connection.
- //
- assert(addr->edge_inlink == 0);
- addr->edge_inlink = 0;
- assert(addr->edge_outlink == 0);
- addr->edge_outlink = 0;
-
- //
// If the address has more than zero attached destinations,
create an
// incoming link from the interior to signal the presence of
local consumers.
//
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]