新增wss与https功能

This commit is contained in:
boyce
2019-03-04 15:13:42 +08:00
parent b4d5a6636e
commit a2d8afda9f
5 changed files with 62 additions and 6 deletions

View File

@@ -86,7 +86,7 @@ func (slf *CCluster) ListenService() error {
tcplisten, err2 := net.ListenTCP("tcp", tcpaddr)
if err2 != nil {
service.GetLogger().Printf(sysmodule.LEVER_FATAL, "ListenTCP error:%v", err)
service.GetLogger().Printf(sysmodule.LEVER_FATAL, "ListenTCP error:%v", err2)
os.Exit(1)
return err2
}