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 2005/01/11 12:43:25 UTC
cvs commit: ws-axis/c/src/transport/axis3/HTTPSSLChannel HTTPSSLChannel.hpp HTTPSSLChannel.cpp
prestonf 2005/01/11 03:43:25
Modified: c/src/transport/axis3/HTTPSSLChannel HTTPSSLChannel.hpp
HTTPSSLChannel.cpp
Log:
Hi All,
These are modifications needed for the draft of the new http transport implementation AXIS3 (see AXISCPP-361).
Regards,
Fred Preston.
Revision Changes Path
1.5 +1 -0 ws-axis/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp
Index: HTTPSSLChannel.hpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- HTTPSSLChannel.hpp 10 Jan 2005 15:26:16 -0000 1.4
+++ HTTPSSLChannel.hpp 11 Jan 2005 11:43:25 -0000 1.5
@@ -58,6 +58,7 @@
virtual void setURL( const char * cpURL);
virtual URL & getURLObject();
bool open() throw (HTTPTransportException&);
+ bool close();
const std::string & GetLastErrorMsg();
const IChannel & operator >> (const char * msg);
const IChannel & operator << (const char * msg);
1.4 +12 -0 ws-axis/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp
Index: HTTPSSLChannel.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- HTTPSSLChannel.cpp 10 Jan 2005 15:26:16 -0000 1.3
+++ HTTPSSLChannel.cpp 11 Jan 2005 11:43:25 -0000 1.4
@@ -91,6 +91,18 @@
return bSuccess;
}
+bool HTTPSSLChannel::close()
+{
+ if( m_Sock != INVALID_SOCKET)
+ {
+ CloseChannel();
+ }
+
+ m_Sock = INVALID_SOCKET;
+
+ return AXIS_SUCCESS;
+}
+
const std::string & HTTPSSLChannel::GetLastErrorMsg()
{
return m_LastError;