apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: [PATCH] add support for unix domain sockets
Date Wed, 18 Feb 2009 13:26:20 GMT
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
--

Mime
View raw message