Home
last modified time | relevance | path

Searched hist:"3 f08376c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/util/
H A Diov.c3f08376c Thu Oct 06 06:36:53 CDT 2022 Marc-André Lureau <marcandre.lureau@redhat.com> 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>