mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-17 01:53:36 -05:00
show vmess decode errors at warning level
This commit is contained in:
parent
197793dc49
commit
ad4a1a3dc2
@ -168,7 +168,7 @@ func (c *ClientSession) DecodeResponseHeader(reader io.Reader) (*protocol.Respon
|
||||
defer buffer.Release()
|
||||
|
||||
if _, err := buffer.ReadFullFrom(c.responseReader, 4); err != nil {
|
||||
return nil, newError("failed to read response header").Base(err)
|
||||
return nil, newError("failed to read response header").Base(err).AtWarning()
|
||||
}
|
||||
|
||||
if buffer.Byte(0) != c.responseHeader {
|
||||
|
Loading…
Reference in New Issue
Block a user