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 di...@apache.org on 2005/07/05 16:56:25 UTC

cvs commit: ws-axis/c/src/transport/axis3/HTTPChannel HTTPChannel.cpp

dicka       2005/07/05 07:56:25

  Modified:    c/src/transport/axis3/HTTPChannel HTTPChannel.cpp
  Log:
  Insert additional line of trace, to help diagnose a problem being seen on the nightly build/test systems, causing all the unit tests to hang.
  
  Submitted by: Adrian Dick
  
  Revision  Changes    Path
  1.17      +11 -0     ws-axis/c/src/transport/axis3/HTTPChannel/HTTPChannel.cpp
  
  Index: HTTPChannel.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis3/HTTPChannel/HTTPChannel.cpp,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- HTTPChannel.cpp	24 May 2005 13:24:15 -0000	1.16
  +++ HTTPChannel.cpp	5 Jul 2005 14:56:25 -0000	1.17
  @@ -15,6 +15,7 @@
   
   #include "HTTPChannel.hpp"
   #include "../../../platforms/PlatformAutoSense.hpp"
  +#include "../../../common/AxisTrace.h"
   
   /**
    * HTTPChannel::HTTPChannel()
  @@ -243,6 +244,16 @@
                                         (char *) m_LastError.c_str());
       }
   
  +
  +#ifdef ENABLE_AXISTRACE
  +        if (axiscpp::AxisTrace::isTraceOn())
  +        {
  +            char traceBuffer[40];
  +            sprintf(traceBuffer, "Bytes received: %i", nByteRecv);
  +            AxisTrace::traceLine(traceBuffer);
  +        }
  +#endif
  +
       if( nByteRecv)
       {
           buf[nByteRecv] = '\0';