[systemd-devel] [PATCH] Add sabridge for socket activation of traditional daemons

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Tue Oct 15 16:32:14 PDT 2013


On Tue, Oct 15, 2013 at 01:59:41PM -0700, David Strauss wrote:
> One question, though: Is it safe to assume send will block if it
> returns having sent fewer bytes than requested?
I'm not sure if I understand the question correctly. First of all,
the socket is in non-blocking mode, no? And anyway, even if it was in
blocking mode, in the time between an incomplete send was done, the
buffer could have been emptied by the kernel, so you cannot assume
that the next send will block.

Zbyszek


More information about the systemd-devel mailing list