axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/src/transport/axis2 Axis2Transport.cpp
Date Tue, 04 Jan 2005 09:32:50 GMT
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
  
  
  

Mime
View raw message