Reclassify malformed header log
All checks were successful
Build and Publish / release (push) Successful in 3m7s

This commit is contained in:
Ryan McGuire 2025-01-29 19:46:00 -05:00
parent ae53a1d5fd
commit ea93beb6b2

View File

@ -51,7 +51,7 @@ func (l *LFStrippingListener) WrapConn(conn net.Conn) net.Conn {
if !badReqURI.Match(line) {
newData = append(newData, '\n')
} else {
zerolog.Ctx(l.ctx).Trace().Bytes("line", line).
zerolog.Ctx(l.ctx).Warn().Bytes("line", line).
Msg("malformed request found, stripped 0x0a")
}