You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2007/10/14 19:14:36 UTC

svn commit: r584567 - /webservices/axis2/branches/c/29092007/src/core/transport/http/server/simple_axis2_server/http_server_main.c

Author: dinesh
Date: Sun Oct 14 10:14:35 2007
New Revision: 584567

URL: http://svn.apache.org/viewvc?rev=584567&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=584567&r1=584566&r2=584567&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:14:35 2007
@@ -237,7 +237,11 @@
         {
             AXIS2_LOG_INFO(system_env->log, "Received signal SIGINT. Server "
                            "shutting down");
-            axis2_http_server_stop(server, system_env);
+            if (server)
+            {
+                axis2_http_server_stop(server, system_env);
+            }
+
             AXIS2_LOG_INFO(system_env->log, "Shutdown complete ...");
             system_exit(system_env, 0);
         }



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