-
Notifications
You must be signed in to change notification settings - Fork 183
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
Add test for parsing one charactar at a time, fix #125 and #126 #124
Conversation
Updated PR with fix for #125 |
Codecov Report
@@ Coverage Diff @@
## master #124 +/- ##
===========================================
- Coverage 75.76% 39.19% -36.57%
===========================================
Files 15 15
Lines 2434 2396 -38
===========================================
- Hits 1844 939 -905
- Misses 590 1457 +867
Continue to review full report at Codecov.
|
updated with (failing) test for parsing requests 1 char at a time |
Replace local `KEY` in `parse!()` with `parser.previous_field`. Add onurlbytes(). Accumulates URL in `parser.valuebuffer`. Use `Ref{String}` to return `extra`/`upgrade` so that caller can tell the difference between upgrade with empty string and no upgrade. Add `s_req_fragment_start` to list of states where the url_mark should be reset to 1.
Updated with fix for #126 |
I'll need a few more days to review this; it touches several very low-level parts of the parser, so we want to be careful w/ performance and correctness. |
No description provided.