xjasonlyu/tun2socks

View on GitHub
transport/socks4/socks4.go

Summary

Maintainability
A
35 mins
Test Coverage

Showing 1 of 1 total issue

Function ClientHandshake has 5 return statements (exceeds 4 allowed).
Open

func ClientHandshake(rw io.ReadWriter, addr string, command Command, userID string) (err error) {
if command == CmdBind {
return errCmdNotSupported
}
 
 
Severity: Major
Found in transport/socks4/socks4.go - About 35 mins to fix
    Category
    Status