Bala FA 1875a47495 rpcclient: fix leaky connection (#3471)
Previously, more than one goroutine calls RPCClient.dial(), each
goroutine gets a new rpc.Client but only one such client is stored
into RPCClient object.  This leads to leaky connection at the server
side.  This is fixed by taking lock at top of dial() and release on
return.
2016-12-17 18:17:40 -08:00
..
2016-11-21 13:51:05 -08:00
2016-11-21 13:51:05 -08:00
2016-11-21 13:51:05 -08:00
2016-11-21 13:51:05 -08:00
2016-11-21 13:51:05 -08:00
2016-10-26 08:46:14 -07:00
2016-11-21 13:51:05 -08:00
2016-11-21 13:51:05 -08:00
2016-09-29 23:42:10 -07:00
2016-11-28 12:14:24 -08:00
2016-11-28 12:14:24 -08:00