From 832ebdcc2709031920911872ddb79afacb8eed39 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Mon, 23 Jul 2012 11:40:13 +0200 Subject: [PATCH] add close after shutdown call --- php-ancillary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-ancillary.c b/php-ancillary.c index 8c43397..f069bff 100644 --- a/php-ancillary.c +++ b/php-ancillary.c @@ -107,7 +107,7 @@ PHP_FUNCTION(ancillary_getstream) } } shutdown(fd_out[1], SHUT_RDWR); - + close(fd_out[1]); ZVAL_STRING(zheaders, headers, 1); free(headers); -- 2.17.1