From: Nadav Har'El <[email protected]>
Committer: Nadav Har'El <[email protected]>
Branch: master
Update redis-memonly package to version 3.2.8
Unfortunately required another small source code patch to redis, which
didn't gracefully handle OSv's total lack of recognition for IPv6.
See issue #865 and upstream issue
https://github.com/antirez/redis/issues/3894.
Fixes #865.
Signed-off-by: Nadav Har'El <[email protected]>
---
diff --git a/redis-memonly/GET b/redis-memonly/GET
--- a/redis-memonly/GET
+++ b/redis-memonly/GET
@@ -3,7 +3,7 @@
# Build a directory from the upstream redis
set -e
-VERSION=3.0.1
+VERSION=3.2.8
mkdir upstream
cd upstream
wget https://github.com/antirez/redis/archive/$VERSION.tar.gz
diff --git a/redis-memonly/patch b/redis-memonly/patch
--- a/redis-memonly/patch
+++ b/redis-memonly/patch
@@ -14,3 +14,14 @@
/* Byte ordering detection */
#include <sys/types.h> /* This will likely define BYTE_ORDER */
+--- src/server.c 2017-03-22 13:36:14.699146635 +0200
++++ /tmp/server.c 2017-03-22 13:37:01.809136644 +0200
+@@ -1786,7 +1786,7 @@
+ if (fds[*count] != ANET_ERR) {
+ anetNonBlock(NULL,fds[*count]);
+ (*count)++;
+- } else if (errno == EAFNOSUPPORT) {
++ } else if (errno == EAFNOSUPPORT || errno == EPROTONOSUPPORT)
{
+ unsupported++;
+ serverLog(LL_WARNING,"Not listening to IPv6:
unsupproted");
+ }
--
You received this message because you are subscribed to the Google Groups "OSv
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.