mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-13 22:45:13 +00:00
Rename errors with Error prefix
This commit is contained in:
1 parent
2f76680fe9
commit
f34e253ea3
10 files changed
+31
-37
No files matched your search
@@ -66,7 +66,7 @@ func ReadAuthentication(reader io.Reader) (auth Socks5AuthenticationRequest, aut
|
||||
auth.version = buffer.Value[0]
|
||||
if auth.version != socksVersion {
|
||||
log.Warning("Socks: Unknown protocol version ", auth.version)
|
||||
err = proxy.InvalidProtocolVersion
|
||||
err = proxy.ErrorInvalidProtocolVersion
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user