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

Remove partially received packets over NUClearNet after timeout #158

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

AWann2
Copy link
Contributor

@AWann2 AWann2 commented Nov 6, 2024

Fix for memory issue in NUClearNet due to partially received messages never being cleaned up. This resulted in the process eventually crashing due to being out of memory.

This fix checks all the packet assemblers each time a packet chunk is received and removes any packets that have not had a new chunk in a while.

@TrentHouliston TrentHouliston merged commit 2b46a4d into main Nov 6, 2024
12 of 13 checks passed
@TrentHouliston TrentHouliston deleted the wann/network-packet-timeout branch November 6, 2024 03:45
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