diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-10-06 15:36:53 +0400 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-10-12 19:22:01 +0400 |
| commit | 3f08376c2e1c3d3bb0b415fb1505b949d72655d4 (patch) | |
| tree | 71169eaca96bc299b7cba33e18c7994b756e5b35 /io/channel-command.c | |
| parent | c1f798091319c74cd9a90f36af604c782e7ee7bd (diff) | |
| download | focaccia-qemu-3f08376c2e1c3d3bb0b415fb1505b949d72655d4.tar.gz focaccia-qemu-3f08376c2e1c3d3bb0b415fb1505b949d72655d4.zip | |
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>
Diffstat (limited to 'io/channel-command.c')
0 files changed, 0 insertions, 0 deletions