You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2021/08/18 18:23:00 UTC
[jira] [Created] (DISPATCH-2230) Review callback action functions
and fix all those that don't check the `discard` flag
Jiri Daněk created DISPATCH-2230:
------------------------------------
Summary: Review callback action functions and fix all those that don't check the `discard` flag
Key: DISPATCH-2230
URL: https://issues.apache.org/jira/browse/DISPATCH-2230
Project: Qpid Dispatch
Issue Type: Bug
Affects Versions: 1.17.0
Reporter: Jiri Daněk
As noted in discussion under DISPATCH-2109, there are action callback functions that do not check the {{discard}} flag. For example, those in https://github.com/apache/qpid-dispatch/blob/48d52576d5959c03b5af5c4a2f9e1d55aeeb4c36/src/router_core/route_tables.c#L360-L532.
These action functions need to check the discard flag, and if it is set (that means the router is shutting down), then they need to free action parameters and return without doing anything.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org