Branch: refs/heads/master Home: http://github.com/memcached/memcached
Commit: eb18f0a0a7f137068dbe639ac630acae02edd655 http://github.com/memcached/memcached/commit/eb18f0a0a7f137068dbe639ac630acae02edd655 Author: Adam Thomason <a...@mthomason.net> Date: 2009-07-14 (Tue, 14 Jul 2009) Changed paths: M memcached.c Log Message: ----------- Fixes for compilation on OpenBSD. Commit: e337faf6520deabec4cd2b0beabf82793ff8fbf1 http://github.com/memcached/memcached/commit/e337faf6520deabec4cd2b0beabf82793ff8fbf1 Author: Trond Norbye <trond.nor...@sun.com> Date: 2009-08-13 (Thu, 13 Aug 2009) Changed paths: M memcached.c M testapp.c Log Message: ----------- Allow memcached to bind to an ephemeral port To ease testing you can pass -p -1 to memcached and it will create and bind to an ephemeral port. If you set the environment variable MEMCACHED_PORT_FILENAME to a filename memcached will write the port numbers to the file in the following format: TCP INET6: 5555 TCP INET: 5555 UDP INET6: 6666 UDP INET: 6666 testapp can now just tell the server to start and don't try to locate a random port for it to use, but instead read the file and connect on the port.