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 sa...@apache.org on 2005/01/04 10:32:50 UTC

cvs commit: ws-axis/c/src/transport/axis2 Axis2Transport.cpp

samisa      2005/01/04 01:32:50

  Modified:    c/src/transport/axis2 Axis2Transport.cpp
  Log:
  Updated HTTP status handling logic to deal with 100 continue
  
  Revision  Changes    Path
  1.33      +5 -1      ws-axis/c/src/transport/axis2/Axis2Transport.cpp
  
  Index: Axis2Transport.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis2/Axis2Transport.cpp,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- Axis2Transport.cpp	30 Dec 2004 05:10:01 -0000	1.32
  +++ Axis2Transport.cpp	4 Jan 2005 09:32:50 -0000	1.33
  @@ -441,7 +441,11 @@
                                              + 2 - start);
                   processResponseHTTPHeaders ();
   
  -                if (m_iResponseHTTPStatusCode != 200 && m_iResponseHTTPStatusCode != 500)
  +                if (m_iResponseHTTPStatusCode == 100) 
  +                {
  +                    m_bReadPastHTTPHeaders = false; 
  +                }
  +                else if (m_iResponseHTTPStatusCode < 200 || m_iResponseHTTPStatusCode >= 300)
                   {
                       throw
                       AxisTransportException