ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prest...@apache.org
Subject svn commit: r373778 - in /webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel: HTTPSSLChannel.cpp HTTPSSLChannel.hpp
Date Tue, 31 Jan 2006 09:35:55 GMT
Author: prestonf
Date: Tue Jan 31 01:35:52 2006
New Revision: 373778

URL: http://svn.apache.org/viewcvs?rev=373778&view=rev
Log:
The current transport/channels cannot handle a SOAP message whose http header in which neither
a chunked or message length is defined.
If the message is not chunked or a message length given, then 'Connection: close' must be
specified.  In this case, the message is ended when the server closes the connection.
P.S.
Correction to code and header file as had syntax errors. 

Modified:
    webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp
    webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp

Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp?rev=373778&r1=373777&r2=373778&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp Tue Jan
31 01:35:52 2006
@@ -718,7 +718,7 @@
 
         OpenSSL_Close();
 
-		::close();
+		close();
 
 		m_Sock = INVALID_SOCKET; // fix for AXISCPP-185
     }

Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp?rev=373778&r1=373777&r2=373778&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp Tue Jan
31 01:35:52 2006
@@ -79,7 +79,7 @@
     const IChannel &	operator << (const char * msg);
     void				setTimeout( long lSeconds);
     void				setSocket( unsigned int uiNewSocket);
-	int					getSocket() {return m_Sock};
+	int					getSocket() {return m_Sock;}
 	bool				setTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type, const char* value);
 	const char *		getTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type);
     void				setProxy( const char * pcProxyHost, unsigned int uiProxyPort);
@@ -105,9 +105,9 @@
 #ifdef WIN32
     unsigned 
 #endif
+    int				m_Sock;						// Socket descriptor
 	SSL_CTX *		m_sslContext;
 	SSL *			m_sslHandle;
-    int				m_Sock;						// Socket descriptor
     bool			m_bUseProxy;				// Use a Proxy?
     std::string		m_strProxyHost;				// Proxy server name.
     unsigned int	m_uiProxyPort;				// Proxy server port.



Mime
View raw message