Skip to content
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

fix: packet added to inflight_queue without incrementing pkt->transmits, triggering assert. #210

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

jthomas43
Copy link
Contributor

packets that fail to send with a transient error other than EAGAIN should be marked transmitted.

Since they were not, a transient error like ENOMEM or ENETUNREACH could result in a packet being added to the inflight queue without incrementing it's pkt->transmits field, triggering an assert.

…g failures and mark them as transmitted; they will be handled by retransmit
@mafintosh mafintosh merged commit f27b551 into holepunchto:main Oct 1, 2024
3 checks passed
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.

2 participants