PHP-FastCGI-Client icon indicating copy to clipboard operation
PHP-FastCGI-Client copied to clipboard

ForbiddenException

Open langemeijer opened this issue 10 years ago • 1 comments

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.

langemeijer avatar Nov 11 '15 09:11 langemeijer

I just read this was a separate pull request by @Timandes, I still think that was a bad idea.

langemeijer avatar Nov 11 '15 16:11 langemeijer