-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sys/net/nanocoap: align request handling with spec #21163
sys/net/nanocoap: align request handling with spec #21163
Conversation
84ae67f
to
6d9888a
Compare
- Do not reply with a reset message to a reset or an ACK message - Reply with a reset message when not able to process a CON/NON message (not even a suitable error reply)
6d9888a
to
9fa2661
Compare
Relevant parts of the RFC:
and
and
(The check for non-confirmable multicast message is simplified to a check for multicast, as only NON may be send as multicats anyway.) |
CoAP Pings still work:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a straightforward fix, nicely done!
Thx :) |
Contribution description
Testing procedure
With
master
:Note the RST "reply" to the RST
With this PR:
Note that no RST "reply" is send to the RST
Issues/PRs references
None