-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Test script:
!/usr/bin/luajit
memc = require('lua-libmemcached');
memcache_con = memc.new ( '/var/run/memcached/memcached.socket' );
print(memcache_con);
if (memcache_con:set('testies_foo', 'yea', 0)) then
foo = memcache_con:get('testies_foo');
print(foo)
else
print('fail set');
end
CentOS 6 w/ custom libmemcached 0.53 package.
Strace shows all of the libs loading but does not seem to actually be attempting to contact the server. Although this example is for a UNIX socket it does the same when using a host:port pair.
BTW: Thanks dev for working on this. Been looking for a true libmemcache module for a while. Have you tried to write a LuaJIT FFI module?