Skip to content
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

Merged
merged 3 commits into from
Jan 3, 2024

test: add benchmark for ValidHeaderFieldValueTable

9cd43c4
Select commit
Loading
Failed to load commit list.
Merged

optimize: stop parse the header if encounter a invalid char #1011

test: add benchmark for ValidHeaderFieldValueTable
9cd43c4
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jan 2, 2024 in 0s

33.33% of diff hit (target 82.55%)

View this Pull Request on Codecov

33.33% of diff hit (target 82.55%)

Annotations

Check warning on line 173 in pkg/protocol/http1/req/header.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/protocol/http1/req/header.go#L173

Added line #L173 was not covered by tests

Check warning on line 192 in pkg/protocol/http1/req/header.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/protocol/http1/req/header.go#L192

Added line #L192 was not covered by tests

Check warning on line 198 in pkg/protocol/http1/req/header.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/protocol/http1/req/header.go#L197-L198

Added lines #L197 - L198 were not covered by tests