ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From din...@apache.org
Subject svn commit: r584568 - /webservices/axis2/branches/c/29092007/src/core/transport/http/server/simple_axis2_server/http_server_main.c
Date Sun, 14 Oct 2007 17:22:50 GMT
Author: dinesh
Date: Sun Oct 14 10:22:49 2007
New Revision: 584568

URL: http://svn.apache.org/viewvc?rev=584568&view=rev
Log:
fixed, server value not checked while in shutdown process

Modified:
    webservices/axis2/branches/c/29092007/src/core/transport/http/server/simple_axis2_server/http_server_main.c

Modified: webservices/axis2/branches/c/29092007/src/core/transport/http/server/simple_axis2_server/http_server_main.c
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/c/29092007/src/core/transport/http/server/simple_axis2_server/http_server_main.c?rev=584568&r1=584567&r2=584568&view=diff
==============================================================================
--- webservices/axis2/branches/c/29092007/src/core/transport/http/server/simple_axis2_server/http_server_main.c
(original)
+++ webservices/axis2/branches/c/29092007/src/core/transport/http/server/simple_axis2_server/http_server_main.c
Sun Oct 14 10:22:49 2007
@@ -231,6 +231,15 @@
 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:



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message