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

Simplify packet dissector to eliminate incoming buffer #31

Merged
merged 2 commits into from
Jul 6, 2016

Conversation

Bluebie
Copy link
Contributor

@Bluebie Bluebie commented Jul 6, 2016

Eliminating incoming buffer will limit damaging effects of confusing or corrupted packets, free up a couple hundred bytes of global memory, speed up incoming packet processing, and get rid of a place bugs were hiding.

Bluebie added 2 commits July 6, 2016 19:52
An off by one bug was causing packets to be dropped when they matched
the PACKET_MAX_SIZE exactly, leaving the _protocolBuffer in a reset
state.
@lathoub
Copy link
Owner

lathoub commented Jul 6, 2016

Thanks @Bluebie , super modif - the buffer was not needed and we save a lot of memory (making it fit into an Uno again).

I noticed that you did not add your name to the authors - if OK with you, I will add you manually (no need to do an additional pull request)

@lathoub lathoub merged commit 49a1b91 into lathoub:master Jul 6, 2016
@lathoub lathoub mentioned this pull request Jul 6, 2016
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