You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by da...@apache.org on 2010/06/28 07:07:28 UTC

svn commit: r958459 - /axis/axis2/c/core/trunk/src/core/transport/http/receiver/http_svr_thread.c

Author: damitha
Date: Mon Jun 28 05:07:28 2010
New Revision: 958459

URL: http://svn.apache.org/viewvc?rev=958459&view=rev
Log:
Axis2c1470:- Applied the second modification suggested

Modified:
    axis/axis2/c/core/trunk/src/core/transport/http/receiver/http_svr_thread.c

Modified: axis/axis2/c/core/trunk/src/core/transport/http/receiver/http_svr_thread.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/receiver/http_svr_thread.c?rev=958459&r1=958458&r2=958459&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/receiver/http_svr_thread.c (original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/receiver/http_svr_thread.c Mon Jun 28 05:07:28 2010
@@ -248,6 +248,11 @@ axis2_svr_thread_worker_func(
     if(!svr_conn)
     {
         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "creating simple_http_svr_connection failed");
+        axutil_free_thread_env(thread_env);
+        thread_env = NULL;
+        #ifdef AXIS2_SVR_MULTI_THREADED
+            axutil_thread_pool_exit_thread(env->thread_pool, thd);
+        #endif 
         return NULL;
     }