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 da...@apache.org on 2010/01/26 15:16:16 UTC

svn commit: r903230 - /webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c

Author: damitha
Date: Tue Jan 26 14:16:15 2010
New Revision: 903230

URL: http://svn.apache.org/viewvc?rev=903230&view=rev
Log:
Adding argument to the set/get_statistics_counter function as a message context parameter

Modified:
    webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c

Modified: webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c?rev=903230&r1=903229&r2=903230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c Tue Jan 26 14:16:15 2010
@@ -205,6 +205,7 @@
     axis2_op_ctx_t *op_ctx = NULL;
     axis2_char_t *peer_ip = NULL;
     axutil_property_t *peer_property = NULL;
+    axutil_property_t *stat_count_property_arg = NULL;
     axutil_url_t *request_url = NULL;
     axis2_char_t *accept_header_value = NULL;
     axis2_char_t *accept_charset_header_value = NULL;
@@ -284,6 +285,9 @@
 		if(session_str)
 		axis2_http_transport_utils_set_session(env, msg_ctx, session_str);
     }
+    stat_count_property_arg = axutil_property_create_with_args(env, AXIS2_SCOPE_REQUEST, 0, 
+            AXIS2_STATISTICS_COUNT_ARG, request);
+    axis2_msg_ctx_set_property(msg_ctx, env, AXIS2_SCOPE_REQUEST, stat_count_property_arg);
 
     if(request->read_chunked == AXIS2_TRUE && 0 == content_length)
     {