Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Echo method to be a really timebound call
The client's Echo method invokes o.rpcClient.CallWithContext to send echo to server which again invokes c.Go which writes request into channel buffer synchronizely which is not covered with context timeout. So timeout never triggered and inactivity check is indefinitely waiting for the echo reply. Hence this commit makes Echo method itslef to honor the context timeout at any case. Signed-off-by: Periyasamy Palanisamy <[email protected]>
- Loading branch information