Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-6266: fix SSL errors with multiple peers
This is only the work around of this issue. The root cause exists in grpc-node. When clients try to establish channel with tls configured, the certs are loaded as buffer in node, and it will be converted into string in gprc. But the string is not properly terminated and more from the memory is appended. Sometimes part of the cert will be appended, which will raise the error that the cert cannot be added. And when more is appended to the cert, it will take more and more time to transmit the message. Then timetout issue arises. Change-Id: Ib4dc9656a1b17c9f1e22dc7f1225439c9582dba0 Signed-off-by: Wang Dong <[email protected]>
- Loading branch information