对https与websocket支持多证书

This commit is contained in:
boyce
2019-04-11 10:19:16 +08:00
parent 1d607d9018
commit 3222f26d7e
3 changed files with 60 additions and 14 deletions

View File

@@ -323,7 +323,6 @@ func (slf *CCluster) Go(bCast bool, NodeServiceMethod string, args interface{},
if replyCall.Error != nil {
service.GetLogger().Printf(sysmodule.LEVER_ERROR, "CCluster.Go(%s) fail:%v.", NodeServiceMethod, replyCall.Error)
}
return replyCall.Error
} else {
pclient := slf.GetClusterClient(nodeid)
if pclient == nil {
@@ -334,7 +333,6 @@ func (slf *CCluster) Go(bCast bool, NodeServiceMethod string, args interface{},
if replyCall.Error != nil {
service.GetLogger().Printf(sysmodule.LEVER_ERROR, "CCluster.Go(%s) fail:%v.", NodeServiceMethod, replyCall.Error)
}
return replyCall.Error
}
}