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/03/02 11:58:47 UTC
cvs commit: ws-axis/c/src/transport/axis3 HTTPTransport.cpp
samisa 2005/03/02 02:58:47
Modified: c/src/transport/axis3 HTTPTransport.cpp
Log:
Removed worn connection openings that violated HTTP protocol.
Fix for AXISCPP-481
Revision Changes Path
1.17 +9 -5 ws-axis/c/src/transport/axis3/HTTPTransport.cpp
Index: HTTPTransport.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/transport/axis3/HTTPTransport.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- HTTPTransport.cpp 28 Feb 2005 16:00:07 -0000 1.16
+++ HTTPTransport.cpp 2 Mar 2005 10:58:47 -0000 1.17
@@ -186,7 +186,11 @@
int HTTPTransport::openConnection()
{
- return m_pActiveChannel->open();
+ // Samisa : opening the connection is really done in flushOutput method
+ // hence it is not reqquired to do that in here, and makes the trasport
+ // relatively faster
+ // Fix for AXISCPP-481
+ return AXIS_SUCCESS;
}
/*
@@ -202,10 +206,9 @@
m_iContentLength = 0;
- if( m_pActiveChannel != NULL)
- {
- m_pActiveChannel->close();
- }
+ // Samisa : closing the connection is done in setEndpointUri
+ // no need to close here
+ // Fix for AXISCPP-481
}
/*
@@ -1497,3 +1500,4 @@
return NULL;
}
+