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

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

Commit 40c1687bedf839841259e054653629b2909293d9 in qpid-dispatch's branch 
refs/heads/master from Ken Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=40c1687 ]

DISPATCH-1690: clean up last inbound message on link close

If an incoming link fails/closes before the current inbound message
has been forwarded to the core the current inbound message is not
freed.  This patch adds a weak reference (safe pointer) in the link to
the current inbound message.  This reference is cleared once the
message has been delivered to the core.  Should the link close prior
to delivery this weak reference is used to clean up the message.

This closes #766


> Pre-delivery messages leak on link close
> ----------------------------------------
>
>                 Key: DISPATCH-1690
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1690
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Router Node
>    Affects Versions: 1.12.0
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Blocker
>             Fix For: 1.13.0
>
>
> The router cannot forward an incoming message until enough of the message 
> arrives to make forwarding possible.
> If the link is dropped before the message is able to be forwarded the message 
> and its associated content & buffers is leaked.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to