qpid-proton icon indicating copy to clipboard operation
qpid-proton copied to clipboard

PROTON-2843: [Go] Fix segfault with acknowledging a message on closed receiver

Open PatrickTaibel opened this issue 5 months ago • 2 comments

Deliveries can not be settled after the receiver has been freed. The current Go implementation leads to a segmentation fault when the receiver is closed before a delivery is acknowledged.

Therefore, this adds a check to ensure that the receiver was not closed (which ensures that Free has not been called on the link yet). Additionally, this changes to use InjectWait in order to be able to use the newly returned error.

PatrickTaibel avatar Sep 05 '24 13:09 PatrickTaibel