]> granicus.if.org Git - php/commit
Raise a warning when listen = hostname used and is resolved as multiple addresses
authorRemi Collet <remi@php.net>
Thu, 20 Nov 2014 09:15:15 +0000 (10:15 +0100)
committerRemi Collet <remi@php.net>
Thu, 20 Nov 2014 09:15:15 +0000 (10:15 +0100)
commit9fd54bd9d8f20f4d56c3d8e0209c6c34fb3bfc98
tree17015526b05b2d7fb0f482b68a3d2fcc773bef83
parent914787491d78cded722318d0796b13f11cb197f8
Raise a warning when listen = hostname used and is resolved as multiple addresses

Using getaddrinfo is perhaps not a good idea... if we are not able
to listen on multiple addresses...

At least this message should help to diagnose problem, ex
... Found address for localhost, socket opened on ::1
... Found multiple addresses for localhost, 127.0.0.1 ignored
sapi/fpm/fpm/fpm_sockets.c