[RESEND PATCH v2 0/1] rpc: Re-read the data if EAGAIN or EINTR were captured

yong.huang@smartx.com posted 1 patch 3 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1747192699.git.yong.huang@smartx.com
There is a newer version of this series
src/rpc/virnetclient.c | 8 ++++++++
1 file changed, 8 insertions(+)
[RESEND PATCH v2 0/1] rpc: Re-read the data if EAGAIN or EINTR were captured
Posted by yong.huang@smartx.com 3 months, 3 weeks ago
From: Hyman Huang <yong.huang@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.1744044211.git.yong.huang@smartx.com/

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