PHP-FastCGI-Client
PHP-FastCGI-Client copied to clipboard
ForbiddenException
I noticed ForbiddenException('Not in white list. Check listen.allowed_clients.') is thrown when a zero-byte response is received from the closing socket.
Apparently this is what happens when php-fpm encounters a client that is not allowed to connect. This is one of many cases however. Network disruption could cause this too, a restarting php-fpm server will cause this too.
I would suggest a more generic exception name for this.
I just read this was a separate pull request by @Timandes, I still think that was a bad idea.