optimize: stop parse the header if encounter a invalid char #3237
tests.yml
on: pull_request
Matrix: compat-test
Matrix: hz-test-unix
Matrix: hz-test-windows
Matrix: lint-and-ut
Matrix: ut-windows
Annotations
8 errors
lint-and-ut (1.20):
internal/bytesconv/bytesconv_test.go#L200
S1008: should use 'return ValidHeaderFieldValueTable[s] != 0' instead of 'if ValidHeaderFieldValueTable[s] == 0 { return false }; return true' (gosimple)
|
lint-and-ut (1.20)
issues found
|
lint-and-ut (1.19)
The job was canceled because "_1_20" failed.
|
lint-and-ut (1.19):
internal/bytesconv/bytesconv_test.go#L200
S1008: should use 'return ValidHeaderFieldValueTable[s] != 0' instead of 'if ValidHeaderFieldValueTable[s] == 0 { return false }; return true' (gosimple)
|
lint-and-ut (1.19)
issues found
|
lint-and-ut (1.18)
The job was canceled because "_1_20" failed.
|
lint-and-ut (1.18):
internal/bytesconv/bytesconv_test.go#L200
S1008: should use 'return ValidHeaderFieldValueTable[s] != 0' instead of 'if ValidHeaderFieldValueTable[s] == 0 { return false }; return true' (gosimple)
|
lint-and-ut (1.18)
issues found
|