Skip to content

Compiles but usage of the functions do not work. #1

@jsaboaz

Description

@jsaboaz

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?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions