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 pr...@apache.org on 2006/02/28 17:51:02 UTC
svn commit: r381702 [1/2] - in /webservices/axis/trunk/c:
src/transport/axis3/HTTPTransport.cpp
tests/auto_build/testcases/output/LargeReturningString2_ServerResponse.expected
Author: prestonf
Date: Tue Feb 28 08:50:48 2006
New Revision: 381702
URL: http://svn.apache.org/viewcvs?rev=381702&view=rev
Log:
Update for AXISCPP-942 (HTTPTransport.cpp) and modification to the results file (UT_LargeReturningString2_ServerResponse.expected) to remove unwanted CR LFs.
Modified:
webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp
webservices/axis/trunk/c/tests/auto_build/testcases/output/LargeReturningString2_ServerResponse.expected
Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp?rev=381702&r1=381701&r2=381702&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp Tue Feb 28 08:50:48 2006
@@ -274,6 +274,7 @@
//clear the message buffer in preperation of the next read.
m_strReceived = "";
+ m_iBytesLeft = 0;
m_iContentLength = 0;
@@ -552,6 +553,12 @@
{
case eWaitingForHTTPHeader:
{
+ // If there is still data to be sent, then drop out of the switch statement and send more data!
+ if( m_iBytesLeft > 0)
+ {
+ break;
+ }
+
// Wait for a HTTP header to be located on the input stream.
do
{