com php-src: Fix bug #66008: sapi/fpm/fpm/fpm_sockets.c

From: Date: Thu, 31 Oct 2013 10:18:07 +0000
Subject: com php-src: Fix bug #66008: sapi/fpm/fpm/fpm_sockets.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-73839@lists.php.net to get a copy of this message
Commit: 812dfbc4315d38a4ee6669e8b7de50493a8bb3bd Author: Rasmus Lerdorf <rasmus@lerdorf.com> Thu, 31 Oct 2013 03:18:07 -0700 Parents: 5f1cbfacf9ed01bd97c315fc34f4ee87f0d119cc Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=812dfbc4315d38a4ee6669e8b7de50493a8bb3bd Log: Fix bug #66008 Bugs: https://bugs.php.net/66008 Changed paths: M sapi/fpm/fpm/fpm_sockets.c Diff: diff --git a/sapi/fpm/fpm/fpm_sockets.c b/sapi/fpm/fpm/fpm_sockets.c index 145b255..e056565 100644 --- a/sapi/fpm/fpm/fpm_sockets..c +++ b/sapi/fpm/fpm/fpm_sockets.c @@ -487,6 +487,7 @@ int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen) /* {{ } if (connect(fd, (struct sockaddr *)sock, socklen) == -1) { + close(fd); return -1; }

« previous php.cvs (#73839) next »