[PATH] support for UNIX socket in abstract namespace
Roberto De Ioris
roberto at unbit.it
Mon May 23 18:18:30 MSD 2011
(Warning this is Linux only)
Hi all, the attached path adds support for unix socket in abstract namespace.
They are special sockets without filesystem correspondence (so you can use
them without thinking about permissions or in chroot). In netstat they are
reported with a '@' prefix.
For example (using uWSGI):
uwsgi -s @funnysock
netstat -l
unix 2 [ ACC ] STREAM LISTENING 23813 @funnysock
After applying the patch you can connect to it with
uwsgi_pass unix:@funnysock;
I hope it can be useful
--
Roberto De Ioris
http://unbit.it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unix_abstract.patch
Type: application/octet-stream
Size: 1049 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20110523/f704fe53/attachment.obj>
More information about the nginx
mailing list