-
Notifications
You must be signed in to change notification settings - Fork 556
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
optimize: stop parse the header if encounter a invalid char #1011
Conversation
bbf0200
to
984d36d
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #1011 +/- ##
===========================================
+ Coverage 82.55% 82.56% +0.01%
===========================================
Files 98 98
Lines 9974 9982 +8
===========================================
+ Hits 8234 8242 +8
+ Misses 1244 1243 -1
- Partials 496 497 +1 ☔ View full report in Codecov by Sentry. |
5ec37e9
to
62096e9
Compare
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.
license-eye has totally checked 325 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
322 | 1 | 2 | 0 |
Click to see the invalid file list
- internal/bytesconv/bytesconv_timing_test.go
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.
license-eye has totally checked 325 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
322 | 1 | 2 | 0 |
Click to see the invalid file list
- internal/bytesconv/bytesconv_timing_test.go
CI 没过 |
62096e9
to
410aa0d
Compare
@li-jin-gou 缺了个 license header,加上了 |
410aa0d
to
9cd43c4
Compare
What type of PR is this?
optimize
Check the PR title.
(Optional) Translate the PR title into Chinese.
如果遇到无效字符则停止 header,并返回错误给 client
(Optional) More detailed description for this PR(en: English/zh: Chinese).
en: benchmark stats comparing to httpguts:
zh(optional):
(Optional) Which issue(s) this PR fixes:
(Optional) The PR that updates user documentation: