svn commit: r397044 - in head/databases/hiredis: . files
Jimmy Olgeni
olgeni at FreeBSD.org
Wed Sep 16 09:46:15 UTC 2015
Author: olgeni
Date: Wed Sep 16 09:46:13 2015
New Revision: 397044
URL: https://svnweb.freebsd.org/changeset/ports/397044
Log:
Revert upstream commit 1db17f2.
Clearing REDIS_CONNECTED causes hiredis not to call the async
disconnection callback (see GitHub issue #359).
Added:
head/databases/hiredis/files/
head/databases/hiredis/files/patch-hiredis.c (contents, props changed)
Modified:
head/databases/hiredis/Makefile
Modified: head/databases/hiredis/Makefile
==============================================================================
--- head/databases/hiredis/Makefile Wed Sep 16 08:55:04 2015 (r397043)
+++ head/databases/hiredis/Makefile Wed Sep 16 09:46:13 2015 (r397044)
@@ -3,6 +3,7 @@
PORTNAME= hiredis
PORTVERSION= 0.13.2
+PORTREVISION= 1
DISTVERSIONPREFIX=v
CATEGORIES= databases
Added: head/databases/hiredis/files/patch-hiredis.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/hiredis/files/patch-hiredis.c Wed Sep 16 09:46:13 2015 (r397044)
@@ -0,0 +1,10 @@
+--- hiredis.c.orig 2015-08-25 12:16:20 UTC
++++ hiredis.c
+@@ -808,7 +808,6 @@ int redisBufferRead(redisContext *c) {
+ return REDIS_ERR;
+ }
+ } else if (nread == 0) {
+- c->flags &= ~REDIS_CONNECTED;
+ __redisSetError(c,REDIS_ERR_EOF,"Server closed the connection");
+ return REDIS_ERR;
+ } else {
More information about the svn-ports-all
mailing list