Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2015 09:46:14 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397044 - in head/databases/hiredis: . files
Message-ID:  <201509160946.t8G9kEPs009827@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509160946.t8G9kEPs009827>