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

Review request for qpid, Andrew Stitcher, Gordon Sim, and mick goulish.


Bugs: QPID-5866
    https://issues.apache.org/jira/browse/QPID-5866


Repository: qpid


Description
-------

Closing a session must release all messages that have yet to be fetched.

Attached is one possible way how to do that: in ConnectionContext::endSession.

The added code is copy&paste from ConnectionContext::detach - isn't it worth 
having some inline routine for that?


Diffs
-----

  /trunk/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp 1607260 

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


Testing
-------

Manual & automated tests passed.


Thanks,

Pavel Moravec

Reply via email to