From: Hyman Huang <yong.huang(a)smartx.com>
v2:
1. Move the retry logic outside of virNetTLSSession{Read,Write}
2. Try re-polling when handing EAGAIN suggested by Daniel
v1:
1. Encapsulate the retry logic inside virNetTLSSession{Read,Write}
2. Use VIR_DEBUG instead of VIR_WARN to log the retry operation
rfc:
https://patchew.org/Libvirt/d716a59dc2c61916917c6d2e07d62055745606d5.1744...
Please review, thanks.
Yong
Hyman Huang (1):
rpc: Add the {repoll,retry} logic in virNetClientSetTLSSession
src/rpc/virnetclient.c | 8 ++++++++
1 file changed, 8 insertions(+)
--
2.27.0