Welcome! Log In Create A New Profile

Advanced

Enhancement of memcached

Posted by Pavel Kushnirchuk 
Pavel Kushnirchuk
Enhancement of memcached
October 18, 2010 05:40PM
Sorry may be my question is a bit stupid.
I need to extend a memcached with very simple additional
functionality(allow to listen memcached on multiple IP addresses).
Could I do all necessary changes in Win32 branch? Will all my changes
to go to any of next releases?
Matt Ingenthron
Re: Enhancement of memcached
October 18, 2010 05:50PM
On 10/18/10 6:35 AM, Pavel Kushnirchuk wrote:
> Sorry may be my question is a bit stupid.
> I need to extend a memcached with very simple additional
> functionality(allow to listen memcached on multiple IP addresses).
> Could I do all necessary changes in Win32 branch? Will all my changes
> to go to any of next releases?

By default, memcached will listen on INADDR_ANY, which is all IPs on the
system.

Just looking through the code, it appears that it already listens to
multiple IPs if they're specified. I've not tested this anywhere
though, including Windows.

As far as accepting a patch is concerned, I think the answer is sure.
If it's a good patch and tests well (please include tests if possible),
there'd be no reason to not incorporate it.

- Matt
Trond Norbye
Re: Enhancement of memcached
October 18, 2010 11:50PM
You can currently only specify only one interface address with one TCP
port and one UDP port (or you can specify a unix socket to listen to).

Cheers,

Trond
Sorry, only registered users may post in this forum.

Click here to login