apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject [PATCH] add support for unix domain sockets
Date Wed, 18 Feb 2009 13:21:56 GMT

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.



View raw message