feat(mqtt): wire will message delivery on abnormal disconnect

Add DeliverWill to MqttPacketHandlers — extracts and clears the will,
then delivers via ProcessInboundClientMsg. Call from CloseConnection
when client is MQTT. Clean DISCONNECT already clears the will (Task 3),
so DeliverWill is a no-op after DISCONNECT. 3 new tests: abnormal
close delivers will, DISCONNECT suppresses will, no-will is a no-op.
This commit is contained in:
Joseph Doherty
2026-03-01 16:10:53 -05:00
parent b465d095e3
commit 710f443eda
4 changed files with 96 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
# NATS .NET Porting Status Report
Generated: 2026-03-01 21:08:29 UTC
Generated: 2026-03-01 21:10:54 UTC
## Modules (12 total)