liuqian1990 / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

Memcached crashes if given redundant -l flags #328

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. memcached -l 127.0.0.1 -l 127.0.0.1
2. memcache exits.

What is the expected output? What do you see instead?

I expect memcached to be liberal in what it accepts. Instead I see:
failed to listen on TCP port 11211: Address already in use

What version of the product are you using? On what operating system?
1.4.x Debian Wheezy.

Please provide any additional information below.

Pull request with a patch incoming

Original issue reported on code.google.com by mrwack...@gmail.com on 27 Jun 2013 at 7:40

GoogleCodeExporter commented 9 years ago
Serendipitous pull request 42, from mrwacky42!

https://github.com/memcached/memcached/pull/42

Original comment by mrwack...@gmail.com on 1 Aug 2013 at 9:16