Skip to content

Debugging: Add coap_debug_set_packet_fail() for testing network failures#1928

Merged
mrdeep1 merged 1 commit intoobgm:developfrom
mrdeep1:packet_fail
Mar 20, 2026
Merged

Debugging: Add coap_debug_set_packet_fail() for testing network failures#1928
mrdeep1 merged 1 commit intoobgm:developfrom
mrdeep1:packet_fail

Conversation

@mrdeep1
Copy link
Copy Markdown
Collaborator

@mrdeep1 mrdeep1 commented Mar 19, 2026

This is similar to coap_debug_set_packet_loss() which drops packets that are to be sent, but emulates network reported errors by reporting ECONNREFUSED.

This then helps the oss-fuzz code to do additional testing without sending packets out onto the network.

This is similar to coap_debug_set_packet_loss() which drops packets that are
to be sent, but emulates network reported errors by reporting ECONNREFUSED.
@mrdeep1 mrdeep1 merged commit 21b7a9a into obgm:develop Mar 20, 2026
36 checks passed
@mrdeep1 mrdeep1 deleted the packet_fail branch March 20, 2026 09:20
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