You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix inclusive parseUntil condition in the main packet parse loop. (#1964)
* Refactored the main packet parse loop.
- The `parseUntil` is now fully inclusive and parses until it exhausts a sequence of target protocol types. This is to allow parsing until recursive layers that are followed by a layer of the same type.
- Readability improvements.
* Use auto.
* Add save resource utilities to ResourceProvider.
This is so resource data can be generated easily for test creation.
By default all ResourceProvider objects are created as frozen, and attempting to save to them will throw an exception.
* Add test case for parsing packet with multiple layers of the same type.
* Removed old code.
0 commit comments