1
0
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:
Darien Raymond
2018-05-26 00:47:51 +02:00
parent be6f44e1d7
commit 483a56c847
5 changed files with 11 additions and 10 deletions

View File

@@ -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
}
}()