mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-25 07:20:44 +00:00
rename Error to Err
This commit is contained in:
41 files changed
+118
-118
No files matched your search
@@ -114,7 +114,7 @@ func (this *ClientSession) DecodeResponseHeader(reader io.Reader) (*protocol.Res
|
||||
|
||||
if buffer.Value[0] != this.responseHeader {
|
||||
log.Info("Raw: Unexpected response header. Expecting ", this.responseHeader, " but actually ", buffer.Value[0])
|
||||
return nil, transport.ErrorCorruptedPacket
|
||||
return nil, transport.ErrCorruptedPacket
|
||||
}
|
||||
|
||||
header := &protocol.ResponseHeader{
|
||||
|
||||
Reference in new issue
Block a user