mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-08 12:09:11 -04:00
adjust lint settings
This commit is contained in:
@@ -176,7 +176,7 @@ func (s *ServerSession) DecodeRequestHeader(reader io.Reader) (*protocol.Request
|
||||
if invalidRequestErr != nil {
|
||||
randomLen := dice.Roll(64) + 1
|
||||
// Read random number of bytes for prevent detection.
|
||||
common.Ignore(buffer.AppendSupplier(buf.ReadFullFrom(decryptor, int32(randomLen))), "Error doesn't matter")
|
||||
buffer.AppendSupplier(buf.ReadFullFrom(decryptor, int32(randomLen))) // nolint: errcheck
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user