Re: [PATCH v4 2/6] util: make do_send_recv work with partial send/recv

2022-10-12 Thread Daniel P . Berrangé
On Thu, Oct 06, 2022 at 03:36:53PM +0400, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > According to msdn documentation and Linux man pages, send() should try > to send as much as possible in blocking mode, while recv() may return > earlier with a smaller available amount, we s

[PATCH v4 2/6] util: make do_send_recv work with partial send/recv

2022-10-06 Thread marcandre . lureau
From: Marc-André Lureau According to msdn documentation and Linux man pages, send() should try to send as much as possible in blocking mode, while recv() may return earlier with a smaller available amount, we should try to continue send/recv from there. Signed-off-by: Marc-André Lureau --- uti