Add TLS encryption capability to RPC clients (#2789)

This commit is contained in:
Anis Elleuch
2016-09-30 07:42:37 +01:00
committed by Harshavardhana
parent 1e6afac3bd
commit 9fb1c89f81
8 changed files with 51 additions and 11 deletions

View File

@@ -294,7 +294,7 @@ func (l *lockServer) lockMaintenance(interval time.Duration) {
// Validate if long lived locks are indeed clean.
for _, nlrip := range nlripLongLived {
// Initialize client based on the long live locks.
c := newClient(nlrip.lri.node, nlrip.lri.rpcPath)
c := newClient(nlrip.lri.node, nlrip.lri.rpcPath, isSSL())
var expired bool