Make LineTooLong exception more detailed about actual data size#2863
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.txtCHANGESfolder<issue_id>.<type>for example (588.bugfix)issue_idchange 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.