-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Make LineTooLong exception more detailed about actual data size #2863
Conversation
Looks good but tests should be fixed |
Is it the tests should be fixed or py-parser? |
Http Py-parser and C-parser calculate data length in a different ways. |
Sorry, looks like my comment is missing. |
Ok, I will update this PR |
HttpRequestParserPy and HttpRequestParserC have different signatures.
…s the same way the C-parser does.
ca77416
to
a03d50b
Compare
Updated PR. |
Codecov Report
@@ Coverage Diff @@
## master #2863 +/- ##
==========================================
+ Coverage 97.98% 97.98% +<.01%
==========================================
Files 40 40
Lines 7506 7509 +3
Branches 1316 1317 +1
==========================================
+ Hits 7355 7358 +3
Misses 48 48
Partials 103 103
Continue to review full report at Codecov.
|
Please merge, but add CHANGES note first. |
Ok, give me some time for this. |
…GH-2863) (cherry picked from commit 6a60358) Co-authored-by: Alexey Popravka <[email protected]>
…GH-2863) (#2917) (cherry picked from commit 6a60358) Co-authored-by: Alexey Popravka <[email protected]>
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
What do these changes do?
Implementation of #2857
Are there changes in behavior for the user?
No
Related issue number
#2857
Checklist
CONTRIBUTORS.txt
CHANGES
folder<issue_id>.<type>
for example (588.bugfix)issue_id
change it to the pr id after creating the pr.feature
: Signifying a new feature..bugfix
: Signifying a bug fix..doc
: Signifying a documentation improvement..removal
: Signifying a deprecation or removal of public API..misc
: A ticket has been closed, but it is not of interest to users.