-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34999/
-----------------------------------------------------------

Review request for qpid, Gordon Sim and Ted Ross.


Bugs: qpid-6563
    https://issues.apache.org/jira/browse/qpid-6563


Repository: qpid


Description
-------

This patch calls pn_session_free/pn_link_free when both sides of the endpoint 
have closed.


Diffs
-----

  trunk/qpid/cpp/src/qpid/broker/amqp/Connection.cpp 1682469 

Diff: https://reviews.apache.org/r/34999/diff/


Testing
-------

Tested this patch against proton versions 0.6 thru 0.9.

Works for 0.7+.  It appears as if there is a bug in proton 0.6 where proton 
leaks the session.  On 0.6, even though qpidd frees all closed sessions, the 
connection's endpoint list grows indefinitely with closed session objects.


Thanks,

Kenneth Giusti

Reply via email to