You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/01/17 02:49:58 UTC
svn commit: r369623 - in
/webservices/axis2/trunk/c/modules/core/transport/http: http_worker.c
receiver/http_svr_thread.c
Author: samisa
Date: Mon Jan 16 17:49:53 2006
New Revision: 369623
URL: http://svn.apache.org/viewcvs?rev=369623&view=rev
Log:
Fixed more bugs leading to crash of the server
Modified:
webservices/axis2/trunk/c/modules/core/transport/http/http_worker.c
webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c
Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_worker.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/http_worker.c?rev=369623&r1=369622&r2=369623&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_worker.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_worker.c Mon Jan 16 17:49:53 2006
@@ -125,7 +125,7 @@
axis2_http_simple_request_t *simple_request)
{
axis2_http_worker_impl_t *http_worker_impl = NULL;
- axis2_conf_ctx_t *conf_ctx = http_worker_impl->conf_ctx;
+ axis2_conf_ctx_t *conf_ctx = NULL;
axis2_msg_ctx_t *msg_ctx = NULL;
axis2_stream_t *request_body = NULL;
axis2_stream_t *out_stream = axis2_stream_create_basic(env);
@@ -144,6 +144,8 @@
http_worker_impl = AXIS2_INTF_TO_IMPL(http_worker);
+ conf_ctx = http_worker_impl->conf_ctx;
+
if(NULL != conf_ctx)
{
AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NULL_CONFIGURATION_CONTEXT,
Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c?rev=369623&r1=369622&r2=369623&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c Mon Jan 16 17:49:53 2006
@@ -165,7 +165,7 @@
}
svr_conn = axis2_simple_http_svr_conn_create(env, socket);
request = AXIS2_SIMPLE_HTTP_SVR_CONN_READ_REQUEST(svr_conn, env);
- axis2_http_worker_t *tmp = NULL;
+ axis2_http_worker_t *tmp = svr_thread_impl->worker;
AXIS2_HTTP_WORKER_PROCESS_REQUEST(tmp, env, svr_conn, request);
/* TODO log */
}