-
Notifications
You must be signed in to change notification settings - Fork 721
Fix inclusive parseUntil
condition in the main packet parse loop.
#1964
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
Conversation
- 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.
parseUntil
condition the main packet parse loop.
parseUntil
condition the main packet parse loop.parseUntil
condition in the main packet parse loop.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #1964 +/- ##
==========================================
- Coverage 83.48% 83.45% -0.04%
==========================================
Files 311 311
Lines 54885 54920 +35
Branches 12218 12220 +2
==========================================
+ Hits 45822 45834 +12
+ Misses 7847 7819 -28
- Partials 1216 1267 +51
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove the commented-out code before merging: #1964 (comment)
Otherwise, LGTM!
The
parseUntil
is now fully inclusive and parses until it exhausts a sequence of target protocol types. This allows specifying target protocols that allow chaining of the same protocol types.Simplified the rollback mechanism.