optimize: stop parse the header if encounter a invalid char #1011
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
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
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
codecov / codecov/patch
pkg/protocol/http1/req/header.go#L197-L198
Added lines #L197 - L198 were not covered by tests
Loading