axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From din...@apache.org
Subject svn commit: r557876 - /webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/sender/tcp_transport_sender.c
Date Fri, 20 Jul 2007 05:55:01 GMT
Author: dinesh
Date: Thu Jul 19 22:55:01 2007
New Revision: 557876

URL: http://svn.apache.org/viewvc?view=rev&rev=557876
Log:
writing two \r\n to workwith tcpmon

Modified:
    webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/sender/tcp_transport_sender.c

Modified: webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/sender/tcp_transport_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/sender/tcp_transport_sender.c?view=diff&rev=557876&r1=557875&r2=557876
==============================================================================
--- webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/sender/tcp_transport_sender.c
(original)
+++ webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/sender/tcp_transport_sender.c
Thu Jul 19 22:55:01 2007
@@ -277,7 +277,7 @@
             return AXIS2_FAILURE;
         }
 
-        write = axutil_stream_write_socket (stream, env, buffer, buffer_size);
+        write = axutil_stream_write (stream, env, buffer, buffer_size);
         if (write < 0)
         {
             AXIS2_LOG_ERROR (env->log, AXIS2_LOG_SI, "stream write error");
@@ -285,8 +285,9 @@
         }
         AXIS2_LOG_DEBUG (env->log, AXIS2_LOG_SI, "stream wrote soap msg: %s", 
                          buffer);
+        write = axutil_stream_write (stream, env, "\r\n\r\n", 4);
         size = RES_BUFF;
-        while ((read = axutil_stream_read_socket (stream, env, &buff, 1)) > 0)
+        while ((read = axutil_stream_read (stream, env, &buff, 1)) > 0)
         {
             if (res_size >= size)
             {



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