You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Memcached is working properly - telnet 127.0.0.1 11211 with commands work fine
Test script:
#!/usr/bin/perl
use Cache::Memcached::Fast;
my $memcached = Cache::Memcached::Fast->new({
'servers' => [ '127.0.0.1:11211' ],
});
# Ensure we can actually talk to the memcached server
my $ismemcached = $memcached->set('ismemcached','1');
unless ($ismemcached) {
warn "\nNOT WORKING\n";
}
However, when I reconfigure memcached to listen on IPv6 as well and update the code:
Testing environment:
telnet 127.0.0.1 11211
with commands work fineTest script:
However, when I reconfigure memcached to listen on IPv6 as well and update the code:
Everything works as expected.
Culprit:
https://github.com/JRaspass/Cache-Memcached-Fast/blob/master/src/connect.c#L44
Is there any reason to set AI_ADDRCONFIG flag in this library?
The text was updated successfully, but these errors were encountered: