put a log message before opening the FastCGI connection socket
FCGX_OpenSocket will call exit() if there was a problem with creating the socket.
This commit is contained in:
parent
e29f912358
commit
31e826d893
|
@ -265,7 +265,14 @@ char sock_group[WINIX_OS_USERNAME_SIZE];
|
|||
return false;
|
||||
|
||||
unlink(sock);
|
||||
|
||||
log << log3 << "App: trying to create a fcgi connection socket: " << sock << logend << logsave;
|
||||
fcgi_socket = FCGX_OpenSocket(sock, config.fcgi_socket_listen);
|
||||
/*
|
||||
* WARNING:
|
||||
* when there is a problem with creating the socket then FCGX_OpenSocket will call exit()
|
||||
* and we never reach here
|
||||
*/
|
||||
|
||||
if( fcgi_socket < 0 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue