Repository navigation
Expand adversarial HTTP request parser coverage - #3131
Open
HarshPopat23 wants to merge 3 commits into
Open
HarshPopat23 wants to merge 3 commits into
HarshPopat23 wants to merge 3 commits into
Conversation
Exercise pinned llhttp examples, every split of representative requests, all octets in grammar positions, repeated headers, borrowed views, and binary body/pipelining boundaries. Assert every parser result member. Signed-off-by: HarshPopat23 <musichk61@gmail.com>
There was a problem hiding this comment.
No issues found across 1 file
You’re at about 99% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
Tip: Get a Slack DM when cubic finishes reviewing your PRs. Connect Slack
View guided diff | Re-trigger cubic
🤖 Augment PR SummarySummary: Expands adversarial HTTP request-parser coverage to catch syntax and boundary regressions.
🤖 Was this summary useful? React with 👍 or 👎 |
Contributor
Author
|
PTAL : @jviotti |
jviotti
reviewed
Nov 29, 2026
jviotti
reviewed
Nov 29, 2026
jviotti
reviewed
Nov 29, 2026
jviotti
reviewed
Nov 29, 2026
jviotti
reviewed
Nov 29, 2026
jviotti
reviewed
Nov 29, 2026
Replace grouped loops and assertion helpers with directly asserted cases. Separate borrowed-view parsing from the truncated-view rejection check. Signed-off-by: HarshPopat23 <musichk61@gmail.com>
Default-initialize the empty view and use lowercase names for runtime input variables. Signed-off-by: HarshPopat23 <musichk61@gmail.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Builds on #3112 with 18 additional tests for
http_parse_request_line_and_headers.Only the existing test file changes. Parser behavior remains unchanged.
Verification