mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 17:46:58 -05:00
propagate error
This commit is contained in:
parent
16102271dd
commit
585608a796
@ -72,7 +72,7 @@ func NewChunkReader(reader io.Reader, auth *Authenticator) *ChunkReader {
|
||||
func (v *ChunkReader) ReadMultiBuffer() (buf.MultiBuffer, error) {
|
||||
size, err := serial.ReadUint16(v.reader)
|
||||
if err != nil {
|
||||
return nil, newError("failed to read size")
|
||||
return nil, newError("failed to read size").Base(err)
|
||||
}
|
||||
size += AuthSize
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user