Axel Luttgens:
[ Charset ISO-8859-1 unsupported, converting... ]
>
> Le 25 mars 2013 ? 18:45, Wietse Venema <[email protected]> a ?crit :
>
> > Axel Luttgens:
> >>> Viktor Dukhovni reports that MacOS poll() support is still broken
> >>> for /dev/urandom. This breaks tlsmgr(8), as discussed in:
> >>>
> >>> http://archives.neohapsis.com/archives/postfix/2009-12/thread.html#805
> > ...
> >> I quickly looked at what Apple did for that problem; seems to be contained
> >> in:
> >
> > That appears to be a special-case subset of my third solution
> > (enforce read/write time limits with select() instead of poll()).
> >
> > Their solution a) handles reading only, and b) unconditionally fails
> > on descriptors >= FD_SETSIZE. My solution handles reading and
> > writing, and tries to dup() descriptors >= FD_SETSIZE down which
> > will practially eliminate the problem.
>
> Yes, I was just busy writing an add-on to my previous mail, when
> your reply arrived...
>
> In fact, it was the idea of making use of the unused_context
> parameter while concentrating the bulk of the change into a single
> place that appealed me; but with of course a nicer handling of the
> fd > FD_SETSIZE case, by duplication of the fd when needed as you
> suggested.
>
> Now, I didn't think about the case of writing to a device; would
> this be needed in the case of Postfix too?
Sorry, Postfix must be able to evolve. That is in a direct conflict
with the existence of partial solutions (such as an infrastructure
for read/write timeouts that can't handle all I/O resources).
Wietse