Hey people!

I'm currently trying to work around problem with receiving fds over
IPC pipe on SmartOS. The thing is that SmartOS may concatenate
multiple fds and emit them at once in a single SCM_RIGHTS message.

I decided to queue them up on a stream instance, but notifying users
about pending fds requires an API change. Initially, I thought about
passing NULL-buffer as a `read2_cb` with zero `nread`, when there's
pending fd (see:
https://github.com/joyent/libuv/pull/1056/files#diff-56343bd7ad8bf449c2693082fb3e4081R379
). But we are afraid that many users are not prepared for such
circumstances, and, considering that this situation is quite rare and
platform-specific, users may not ever observe it, when developing
their apps.

Thus, I want to collect some feedback from you, people! Please let me
know if it'll break existing code for you, or if you have any better
ideas for this!

Cheers,
Fedor.

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to