Azure / go-amqp

AMQP 1.0 client library for Go.
https://github.com/Azure/go-amqp
MIT License
104 stars 56 forks source link

Don't leak message settlement on context cancel/timeout #283

Closed jhendrixMSFT closed 1 year ago

jhendrixMSFT commented 1 year ago

For receivers in mode second, handle clean-up of in-flight messages from the mux instead of the disposition call. This ensures that the link credit is reclaimed if the disposition API is cancelled or times out waiting for the disposition acknowledgement.