[ 
https://issues.apache.org/jira/browse/DISPATCH-2230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17435020#comment-17435020
 ] 

ASF subversion and git services commented on DISPATCH-2230:
-----------------------------------------------------------

Commit 21a3a8216e53d32fc48a989e903d619712f42404 in qpid-dispatch's branch 
refs/heads/main from Ganesh Murthy
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=21a3a82 ]

DISPATCH-2230: Check the discard flag and don't perform the action if it has 
been discarded


> 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
>            Assignee: Ganesh Murthy
>            Priority: Major
>             Fix For: 1.18.0
>
>
> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to