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

From: Date: Thu, 31 Oct 2013 10:06:35 +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-73838@lists.php.net to get a copy of this message
Commit: b4bed6fde09d1737fc118253d2cba03ff10fcaff Author: Rasmus Lerdorf <rasmus@lerdorf.com> Thu, 31 Oct 2013 03:06:35 -0700 Parents: 4ded6ee971d7de3b3f9f2fdf747f5dfcb82cc691 Branches: PHP-5.4 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b4bed6fde09d1737fc118253d2cba03ff10fcaff 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 (#73838) next »