Marc-André Lureau 3f08376c2e util: make do_send_recv work with partial send/recv
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 <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20221006113657.2656108-3-marcandre.lureau@redhat.com>
2022-10-12 19:22:01 +04:00
..
2022-04-21 17:03:51 +04:00
2022-04-20 10:51:11 -07:00
2022-07-13 16:58:57 +02:00
2022-07-13 16:58:57 +02:00
2022-06-29 10:56:12 +03:00
2022-10-12 19:21:31 +04:00