From: Matteo Nastasi (mop) Date: Mon, 23 Jul 2012 09:40:13 +0000 (+0200) Subject: add close after shutdown call X-Git-Tag: v0.5.0~3 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=832ebdcc2709031920911872ddb79afacb8eed39;p=php-ancillary.git add close after shutdown call --- 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);