Merge pull request #103 from AsterNET/revert-97-fix/fastagi_start
Revert "Clean up on socket initialization error"
This commit is contained in:
commit
db13bfa39c
|
@ -240,20 +240,6 @@ namespace AsterNET.FastAGI
|
||||||
#endif
|
#endif
|
||||||
throw ex;
|
throw ex;
|
||||||
}
|
}
|
||||||
finally
|
|
||||||
{
|
|
||||||
if (serverSocket != null)
|
|
||||||
{
|
|
||||||
serverSocket.Close();
|
|
||||||
serverSocket = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
pool.Shutdown();
|
|
||||||
#if LOGGER
|
|
||||||
logger.Info("AGIServer shut down.");
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
#if LOGGER
|
#if LOGGER
|
||||||
logger.Info("Listening on " + address + ":" + port + ".");
|
logger.Info("Listening on " + address + ":" + port + ".");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue