axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From din...@apache.org
Subject svn commit: r558271 - in /webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver: tcp_svr_thread.c tcp_worker.c
Date Sat, 21 Jul 2007 08:59:54 GMT
Author: dinesh
Date: Sat Jul 21 01:59:53 2007
New Revision: 558271

URL: http://svn.apache.org/viewvc?view=rev&rev=558271
Log:
using svr_conn_open and svr_conn_close for connection

Modified:
    webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_svr_thread.c
    webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_worker.c

Modified: webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_svr_thread.c
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_svr_thread.c?view=diff&rev=558271&r1=558270&r2=558271
==============================================================================
--- webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_svr_thread.c
(original)
+++ webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_svr_thread.c
Sat Jul 21 01:59:53 2007
@@ -253,13 +253,12 @@
     axis2_simple_tcp_svr_conn_set_rcv_timeout(svr_conn, thread_env,
             axis2_tcp_socket_read_timeout);
     request = axis2_simple_tcp_svr_conn_read_request(svr_conn, thread_env);
-    AXIS2_LOG_DEBUG (env->log, AXIS2_LOG_SI, "tcp request %s", request);
+    AXIS2_LOG_TRACE (env->log, AXIS2_LOG_SI, "tcp request %s", request);
     tmp = arg_list->worker;
     status = axis2_tcp_worker_process_request(tmp, thread_env, svr_conn,
             request);
-/*     axis2_simple_tcp_svr_conn_free(svr_conn, thread_env); */
-/*     if (request) */
-/*         AXIS2_FREE (env->allocator, request); */
+    axis2_simple_tcp_svr_conn_free(svr_conn, thread_env);
+
     AXIS2_PLATFORM_GET_TIME_IN_MILLIS(&t2);
     millisecs = t2.millitm - t1.millitm;
     secs = difftime(t2.time, t1.time);

Modified: webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_worker.c?view=diff&rev=558271&r1=558270&r2=558271
==============================================================================
--- webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_worker.c
(original)
+++ webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_worker.c
Sat Jul 21 01:59:53 2007
@@ -80,6 +80,7 @@
     axis2_simple_tcp_svr_conn_t *svr_conn,
     axis2_char_t *simple_request)
 {
+    AXIS2_LOG_TRACE(env->log, AXIS2_LOG_SI, "start:axis2_tcp_worker_process_request");
     axis2_conf_ctx_t *conf_ctx = NULL;
     axis2_transport_out_desc_t *out_desc = NULL;
     axis2_transport_in_desc_t *in_desc = NULL;
@@ -165,10 +166,9 @@
             AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "stream write failed");
             return AXIS2_FAILURE;
         }
-        axutil_network_handler_close_socket (env, svr_stream->socket);
-        AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "stream wrote:%s", buffer);
+        AXIS2_LOG_TRACE(env->log, AXIS2_LOG_SI, "stream wrote:%s", buffer);
     }
-
+    AXIS2_LOG_TRACE(env->log, AXIS2_LOG_SI, "end:axis2_tcp_worker_process_request");
     return AXIS2_SUCCESS;
 }
 



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