From: "Daniel P. Berrangé" <berrange@redhat.com>
To: marcandre.lureau@redhat.com
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH v4 2/6] util: make do_send_recv work with partial send/recv
Date: Wed, 12 Oct 2022 16:14:26 +0100 [thread overview]
Message-ID: <Y0bZ0jrnWlfAaA2r@redhat.com> (raw)
In-Reply-To: <20221006113657.2656108-3-marcandre.lureau@redhat.com>
On Thu, Oct 06, 2022 at 03:36:53PM +0400, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> 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>
> ---
> util/iov.c | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2022-10-12 15:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-06 11:36 [PATCH v4 0/6] io/command: implement portable spawn marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 1/6] osdep: make readv_writev() work with partial read/write marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 2/6] util: make do_send_recv work with partial send/recv marcandre.lureau
2022-10-12 15:14 ` Daniel P. Berrangé [this message]
2022-10-06 11:36 ` [PATCH v4 3/6] tests/channel-helper: set blocking in main thread marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 4/6] io/command: use glib GSpawn, instead of open-coding fork/exec marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 5/6] io/command: implement support for win32 marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 6/6] tests/unit: make test-io-channel-command work on win32 marcandre.lureau
2022-10-12 15:15 ` Daniel P. Berrangé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y0bZ0jrnWlfAaA2r@redhat.com \
--to=berrange@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.