[sr-dev] ndb_redis: support for unix domain sockets.

Vicente Hernando vhernando at systemonenoc.com
Mon May 21 13:50:14 CEST 2012


Hello,

the attached patch adds support for configuring redis servers using unix 
domain sockets instead of IP address and port.

I updated the doc too.


Now redis server can be configured like this:

modparam("ndb_redis", "server", "name=srvY;unix=/tmp/redis.sock;db=3");


If both unix and addr parameters are provided, then unix one has 
precedence, and only unix domain socket is configured.

Regards,
Vicente.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndb_redis_unix_socket.patch
Type: text/x-diff
Size: 8018 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20120521/a70afd06/attachment.patch>


More information about the sr-dev mailing list