Update main.go

This commit is contained in:
snail007
2017-09-20 20:43:07 +08:00
committed by GitHub
parent e665ef0d4b
commit 9e2849f967

View File

@ -220,7 +220,7 @@ func LocalTCPServer(sc *ServerChannel) {
userProxy, address, req, err := CheckTCPDeocder(&inConn) userProxy, address, req, err := CheckTCPDeocder(&inConn)
if err != nil { if err != nil {
if err != io.EOF { if err != io.EOF {
log.Printf("http proxy decode error , ERR:%s", err) log.Printf("tcp decode error , ERR:%s", err)
} }
return return
} }
@ -233,7 +233,7 @@ func LocalTLSServer(sc *ServerChannel) {
userProxy, address, req, err := CheckTCPDeocder(&inConn) userProxy, address, req, err := CheckTCPDeocder(&inConn)
if err != nil { if err != nil {
if err != io.EOF { if err != io.EOF {
log.Printf("http proxy decode error , ERR:%s", err) log.Printf("tls decode error , ERR:%s", err)
} }
return return
} }