switch the light off and shut the door when leaving

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

switch the light off and shut the door when leaving

David Gauchard

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

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html