This is an automated email from the ASF dual-hosted git repository. billblough pushed a commit to branch 29092007 in repository https://gitbox.apache.org/repos/asf/axis-axis2-c-core.git
commit f5b2edaa2402d83da4fac86b8fee6bb730df6c67 Author: Weerapurage Dinesh Premalal <[email protected]> AuthorDate: Sun Oct 14 17:22:49 2007 +0000 fixed, server value not checked while in shutdown process --- .../transport/http/server/simple_axis2_server/http_server_main.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/core/transport/http/server/simple_axis2_server/http_server_main.c b/src/core/transport/http/server/simple_axis2_server/http_server_main.c index 23bb8c9..45bfc9e 100644 --- a/src/core/transport/http/server/simple_axis2_server/http_server_main.c +++ b/src/core/transport/http/server/simple_axis2_server/http_server_main.c @@ -231,6 +231,15 @@ void sig_handler( int signal) { + + if (!system_env) + { + AXIS2_LOG_ERROR(system_env->log, + "Received signal %d, unable to proceed system_env is NULL ,\ + system exit with -1", signal); + _exit (-1); + } + switch (signal) { case SIGINT:
