switch the light off and shut the door when leaving
David Gauchard
gauchard at laas.fr
Wed Jun 29 20:08:48 UTC 2016
Hello,
Rsync is extensively using non blocking descriptors, in a very efficient
way.
In some piece of software I'm writing, I serialize the rsync server in a big
pipe.
Once rsync--server has finished chatting with rsync-client, its closing
leaves stdin in a non-blocking state which breaks some semantics if stdin
was in a blocking state before starting rsync--server.
I currently reset stdin to its blocking state using an external tool, but I
believe things would be alot smarter if rsync--server would leave stdin as
it found it (or at least, in its blocking state).
What do you think ?
Anyway, thanks alot for making/maintaining this efficient piece of software
so that it is available everywhere.
I hope nobody was hurt with the mail subject, I did not intend to :)
david
More information about the rsync
mailing list