Mladen Turk wrote:

Think this is valuable addition.
It doesn't change the API except
new APR_UNIX socket family mode.
In case of APR_UNSPEC it forces the
AF_UNIX if hostname starts with '/'

Changes do not touch the existing code
except adding few compares for family == APR_UNIX

I've extended the test suite as well,
but tested only on linux and darwin.

One possible addition would be
automatic umask on bind() or using
the new APR_PERMS_SET macros.

Comments?

I needed something like this recently, a definite +1 in concept. I eyeballed the patch, but haven't tried it in anger yet.

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to