Open blotus opened 1 day ago
@blotus: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.
/kind feature
/kind enhancement
/kind refactoring
/kind fix
/kind chore
/kind dependencies
@blotus: There are no area labels on this PR. You can add as many areas as you see fit.
/area agent
/area local-api
/area cscli
/area appsec
/area security
/area configuration
Attention: Patch coverage is 0%
with 11 lines
in your changes missing coverage. Please review.
Project coverage is 54.51%. Comparing base (
fb733ee
) to head (9ed95e7
).
Files with missing lines | Patch % | Lines |
---|---|---|
pkg/appsec/request.go | 0.00% | 11 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
We were relying on the content-length header to compute the size of the buffer we need to allocate to store the body, but in the case of chunked requests, the content length is not set, thus we were allocating a 0 byte buffer.
Do not try to be smart, and read as much as we can.
We ignore unexpected EOF errors because some requests might set an invalid content-length header.