ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject cvs commit: ws-axis/c/src/transport/axis HttpTransport.cpp TransportFactory.cpp
Date Tue, 30 Mar 2004 15:10:58 GMT
damitha     2004/03/30 07:10:58

  Modified:    c/src/transport/axis HttpTransport.cpp TransportFactory.cpp
  Log:
  
  
  Revision  Changes    Path
  1.21      +2 -1      ws-axis/c/src/transport/axis/HttpTransport.cpp
  
  Index: HttpTransport.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis/HttpTransport.cpp,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- HttpTransport.cpp	27 Mar 2004 15:06:36 -0000	1.20
  +++ HttpTransport.cpp	30 Mar 2004 15:10:58 -0000	1.21
  @@ -69,6 +69,7 @@
   #include <iostream>
   #include <stdio.h>
   #include <axis/server/AxisException.h>
  +#include <axis/server/GDefine.h>
   
   using namespace std;
   
  @@ -83,7 +84,7 @@
       m_HttpBindDone = false;
       m_Secure = secure;
   
  -    if(secure) {
  +    if(SECURE == secure) {
   #ifdef _SSL_ENABLED_        
           m_Channel = new SecureChannel();
   #endif        
  
  
  
  1.9       +3 -2      ws-axis/c/src/transport/axis/TransportFactory.cpp
  
  Index: TransportFactory.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis/TransportFactory.cpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TransportFactory.cpp	29 Mar 2004 10:46:31 -0000	1.8
  +++ TransportFactory.cpp	30 Mar 2004 15:10:58 -0000	1.9
  @@ -59,17 +59,18 @@
   #include "Platform.hpp"
   #include "TransportFactory.hpp"
   #include "HttpTransport.hpp"
  +#include <axis/server/GDefine.h>
   
   
   Transport* TransportFactory::GetTransport(Url& url, bool secure)
   {
   	if(url.GetProtocol() == Url::http)
   	{
  -		return new HttpTransport(url, secure);
  +		return new HttpTransport(url, UNSECURE);
   	}
   	else if(url.GetProtocol() == Url::https)
   	{
  -		return new HttpTransport(url, secure); // currently not supported
  +		return new HttpTransport(url, SECURE); // currently not supported
   	}
   	else if(url.GetProtocol() == Url::ftp)
   	{
  
  
  

Mime
View raw message