Skip to content

Fix reason code handling for PUBREC and UNSUBACK#393

Merged
empicano merged 2 commits into
mainfrom
more-v3
Apr 5, 2026
Merged

Fix reason code handling for PUBREC and UNSUBACK#393
empicano merged 2 commits into
mainfrom
more-v3

Conversation

@empicano

@empicano empicano commented Apr 5, 2026

Copy link
Copy Markdown
Owner

The spec defines RC 16 (no matching subscribers) for PUBREC as successful, but currently this raises. It's correctly handled for PUBACK with QoS=1 already. Similarly, RC 17 (no subscription existed) for UNSUBACK should be treated as successful, even if it's a noop.

@empicano
empicano merged commit 40827ed into main Apr 5, 2026
8 checks passed
@empicano
empicano deleted the more-v3 branch April 5, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant