[memcached] bradfitz,
r362: the old unixsocket check didn't work on ...
commits at code.sixapart.com
commits at code.sixapart.com
Tue Sep 5 01:41:43 UTC 2006
the old unixsocket check didn't work on OS X or other BSDs or Solaris... making it more explicit.
U trunk/server/memcached.c
Modified: trunk/server/memcached.c
===================================================================
--- trunk/server/memcached.c 2006-09-05 00:22:48 UTC (rev 361)
+++ trunk/server/memcached.c 2006-09-05 01:41:43 UTC (rev 362)
@@ -1296,7 +1296,7 @@
/* unix socket mode doesn't need this, so zeroed out. but why
* is this done for every command? presumably for UDP
* mode. */
- if (c->request_addr.sa_family != AF_UNSPEC) {
+ if (!settings.socketpath) {
c->request_addr_size = sizeof(c->request_addr);
} else {
c->request_addr_size = 0;
More information about the memcached-commits
mailing list