summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar damitha2010-06-28 05:07:28 +0000
committerGravatar damitha2010-06-28 05:07:28 +0000
commitdb92fe5c0af79fbc07d051a7cb544fc04981eedd (patch)
tree4ae50027bb4a5c6b59c126670986800c2be2f0dc /src
parent0cf55ca9de5bdcac29344a30d7c90a6924a1ac11 (diff)
downloadaxis2c-db92fe5c0af79fbc07d051a7cb544fc04981eedd.tar.gz
axis2c-db92fe5c0af79fbc07d051a7cb544fc04981eedd.tar.bz2
Axis2c1470:- Applied the second modification suggested
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@958459 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/core/transport/http/receiver/http_svr_thread.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/transport/http/receiver/http_svr_thread.c b/src/core/transport/http/receiver/http_svr_thread.c
index 1806815..67f95de 100644
--- a/src/core/transport/http/receiver/http_svr_thread.c
+++ b/src/core/transport/http/receiver/http_svr_thread.c
@@ -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;
}