ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r534365 - in /webservices/axis2/tags/c/1.0.0: src/core/description/op.c src/core/transport/http/common/http_worker.c src/core/transport/http/receiver/http_svr_thread.c xdocs/docs/axis2c_manual.html
Date Wed, 02 May 2007 09:26:31 GMT
Author: samisa
Date: Wed May  2 02:26:30 2007
New Revision: 534365

URL: http://svn.apache.org/viewvc?view=rev&rev=534365
Log:
Fixed some leaks in the code and some typos in the docs

Modified:
    webservices/axis2/tags/c/1.0.0/src/core/description/op.c
    webservices/axis2/tags/c/1.0.0/src/core/transport/http/common/http_worker.c
    webservices/axis2/tags/c/1.0.0/src/core/transport/http/receiver/http_svr_thread.c
    webservices/axis2/tags/c/1.0.0/xdocs/docs/axis2c_manual.html

Modified: webservices/axis2/tags/c/1.0.0/src/core/description/op.c
URL: http://svn.apache.org/viewvc/webservices/axis2/tags/c/1.0.0/src/core/description/op.c?view=diff&rev=534365&r1=534364&r2=534365
==============================================================================
--- webservices/axis2/tags/c/1.0.0/src/core/description/op.c (original)
+++ webservices/axis2/tags/c/1.0.0/src/core/description/op.c Wed May  2 02:26:30 2007
@@ -980,11 +980,11 @@
     {
         return AXIS2_FAILURE;
     }
-    status =  axis2_conf_ctx_register_op_ctx(conf_ctx, env, msg_id, op_ctx);
+    /*status =  axis2_conf_ctx_register_op_ctx(conf_ctx, env, msg_id, op_ctx);
     if (AXIS2_FAILURE == status)
     {
         return AXIS2_FAILURE;
-    }
+    }*/
     status =  axis2_msg_ctx_set_op_ctx(msg_ctx, env, op_ctx);
     if (AXIS2_FAILURE == status)
     {

Modified: webservices/axis2/tags/c/1.0.0/src/core/transport/http/common/http_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/tags/c/1.0.0/src/core/transport/http/common/http_worker.c?view=diff&rev=534365&r1=534364&r2=534365
==============================================================================
--- webservices/axis2/tags/c/1.0.0/src/core/transport/http/common/http_worker.c (original)
+++ webservices/axis2/tags/c/1.0.0/src/core/transport/http/common/http_worker.c Wed May  2
02:26:30 2007
@@ -393,7 +393,7 @@
     {
         axis2_msg_ctx_t *out_msg_ctx = NULL, *in_msg_ctx = NULL;
         axis2_msg_ctx_t **msg_ctx_map = NULL;
-        const axis2_char_t *msg_id = NULL;
+        axis2_char_t *msg_id = NULL;
         axis2_conf_ctx_t *conf_ctx = NULL;
         msg_ctx_map =  axis2_op_ctx_get_msg_ctx_map(op_ctx, env);
 
@@ -409,7 +409,7 @@
 
         if (in_msg_ctx)
         {
-            msg_id = axis2_msg_ctx_get_msg_id(in_msg_ctx, env);
+            msg_id = axutil_strdup(env, axis2_msg_ctx_get_msg_id(in_msg_ctx, env));
             conf_ctx = axis2_msg_ctx_get_conf_ctx(in_msg_ctx, env);
         
             axis2_msg_ctx_free(in_msg_ctx, env);
@@ -423,8 +423,9 @@
             if (conf_ctx && msg_id)
             {
                 axis2_conf_ctx_register_op_ctx(conf_ctx, env, msg_id, NULL);
-                axis2_op_ctx_free(op_ctx, env);
+                AXIS2_FREE(env->allocator, msg_id);
             }
+            axis2_op_ctx_free(op_ctx, env);
         }
         
     } /* Done freeing message contexts */

Modified: webservices/axis2/tags/c/1.0.0/src/core/transport/http/receiver/http_svr_thread.c
URL: http://svn.apache.org/viewvc/webservices/axis2/tags/c/1.0.0/src/core/transport/http/receiver/http_svr_thread.c?view=diff&rev=534365&r1=534364&r2=534365
==============================================================================
--- webservices/axis2/tags/c/1.0.0/src/core/transport/http/receiver/http_svr_thread.c (original)
+++ webservices/axis2/tags/c/1.0.0/src/core/transport/http/receiver/http_svr_thread.c Wed
May  2 02:26:30 2007
@@ -292,11 +292,11 @@
 
     if (thread_env)
     {
-        /*axutil_free_thread_env(thread_env);*/
+        axutil_free_thread_env(thread_env);
         thread_env = NULL;
     }
 #ifdef AXIS2_SVR_MULTI_THREADED
-    /*axutil_thread_pool_exit_thread(env->thread_pool, thd);*/
+    axutil_thread_pool_exit_thread(env->thread_pool, thd);
 #endif
 
     return NULL;

Modified: webservices/axis2/tags/c/1.0.0/xdocs/docs/axis2c_manual.html
URL: http://svn.apache.org/viewvc/webservices/axis2/tags/c/1.0.0/xdocs/docs/axis2c_manual.html?view=diff&rev=534365&r1=534364&r2=534365
==============================================================================
--- webservices/axis2/tags/c/1.0.0/xdocs/docs/axis2c_manual.html (original)
+++ webservices/axis2/tags/c/1.0.0/xdocs/docs/axis2c_manual.html Wed May  2 02:26:30 2007
@@ -1174,39 +1174,35 @@
 <p>Use the Axis2/C VC project or makefile to buid the
 component.</a></p>
 
-<p><a name="ssl_client">In this document I assume that the mod_axis2_IIS.dll
-is in the directory </a><a name="ssl_client1"
-id="ssl_client1"><code>c:\axis2c\lib\mod_axis2_IIS.dll</code> and axis2c_home
-is <code>c:\axis2c</code></a></p>
-
-<p><a name="ssl_client2" id="ssl_client2">Add the following key to the
-registery.</a></p>
-
-<p><a name="ssl_client">HKEY_LOCAL_MACHINE\SOFTWARE\Apache Axis2c\IIS ISAPI
-Redirector</a></p>
-
-<p><a name="ssl_client">Add a string value with the name axis2c_home and a
-value of c:\axis2c</a></p>
-
-<p><a name="ssl_client">Add a string value with the name log_file and a value
-of c:\axis2c\logs\axis2.log</a></p>
-
-<p><a name="ssl_client">Add a string value with the name log_level. The value
-can be either trace, error, info, critical, debug, or warning.</a></p>
-
-<p><a name="ssl_client">Using the IIS management console, add a new virtual
-directory to your IIS/PWS web site. </a><a name="ssl_client3"
-id="ssl_client3">The name of the virtual directory must be axis2. Its
-physical path should be the directory </a><a name="ssl_client4"
-id="ssl_client4">in which you placed mod_axis2_IIS.dll (in our example it is
-c:\axis2c\lib). When creating this new </a><a name="ssl_client5"
-id="ssl_client5">virtual directory, assign execute access to it.</a></p>
+<p>In this document I assume that the mod_axis2_IIS.dll
+is in the directory <code>c:\axis2c\lib\mod_axis2_IIS.dll</code> and axis2c_home
+is <code>c:\axis2c</code></p>
 
-<p><a name="ssl_client">By using the IIS management console, add
+<p>Add the following key to the
+registery.</p>
+
+<p>HKEY_LOCAL_MACHINE\SOFTWARE\Apache Axis2c\IIS ISAPI
+Redirector</p>
+
+<p>Add a string value with the name axis2c_home and a
+value of c:\axis2c</p>
+
+<p>Add a string value with the name log_file and a value
+of c:\axis2c\logs\axis2.log</p>
+
+<p>Add a string value with the name log_level. The value
+can be either trace, error, info, critical, debug, or warning.</p>
+
+<p>Using the IIS management console, add a new virtual
+directory to your IIS/PWS web site. The name of the virtual directory must be axis2. Its
+physical path should be the directory in which you placed mod_axis2_IIS.dll (in our example
it is
+c:\axis2c\lib). When creating this new virtual directory, assign execute access to it.</p>
+
+<p>By using the IIS management console, add
 mod_axis2_IIS.dll as a filter in your IIS/PWS web site and restart the IIS
-admin service.</a></p>
+admin service.</p>
 
-<p><a name="ssl_client"></a></p>
+<a name="ssl_client"></a>
 <h1>13. Using SSL Client</h1>
 
 <h2>Building and Configuring the Client</h2>



---------------------------------------------------------------------
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