(file) Return to CIMListener.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Listener

Diff for /pegasus/src/Pegasus/Listener/CIMListener.cpp between version 1.46.4.2 and 1.47.6.2

version 1.46.4.2, 2007/07/03 21:50:07 version 1.47.6.2, 2007/06/12 09:37:30
Line 121 
Line 121 
 #ifdef PEGASUS_ENABLE_IPV6 #ifdef PEGASUS_ENABLE_IPV6
     HTTPAcceptor *_ip6Acceptor;     HTTPAcceptor *_ip6Acceptor;
 #endif #endif
 #if !defined (PEGASUS_ENABLE_IPV6) || defined (PEGASUS_OS_TYPE_WINDOWS)  #if defined (PEGASUS_ENABLE_IPV6) && defined (PEGASUS_OS_TYPE_WINDOWS) \
       || !defined (PEGASUS_ENABLE_IPV6)
     HTTPAcceptor *_ip4Acceptor;     HTTPAcceptor *_ip4Acceptor;
 #endif #endif
     Boolean _dieNow;     Boolean _dieNow;
Line 140 
Line 141 
 #ifdef PEGASUS_ENABLE_IPV6 #ifdef PEGASUS_ENABLE_IPV6
     _ip6Acceptor(NULL),     _ip6Acceptor(NULL),
 #endif #endif
 #if !defined (PEGASUS_ENABLE_IPV6) || defined (PEGASUS_OS_TYPE_WINDOWS)  #if defined (PEGASUS_ENABLE_IPV6) && defined (PEGASUS_OS_TYPE_WINDOWS) \
       || !defined (PEGASUS_ENABLE_IPV6)
     _ip4Acceptor(NULL),     _ip4Acceptor(NULL),
 #endif #endif
     _dieNow(false),     _dieNow(false),
Line 157 
Line 159 
 #ifdef PEGASUS_ENABLE_IPV6 #ifdef PEGASUS_ENABLE_IPV6
     _ip6Acceptor(NULL),     _ip6Acceptor(NULL),
 #endif #endif
 #if !defined (PEGASUS_ENABLE_IPV6) || defined (PEGASUS_OS_TYPE_WINDOWS)  #if defined (PEGASUS_ENABLE_IPV6) && defined (PEGASUS_OS_TYPE_WINDOWS) \
       || !defined (PEGASUS_ENABLE_IPV6)
     _ip4Acceptor(NULL),     _ip4Acceptor(NULL),
 #endif #endif
     _dieNow(svc._dieNow),     _dieNow(svc._dieNow),
Line 174 
Line 177 
 #ifdef PEGASUS_ENABLE_IPV6 #ifdef PEGASUS_ENABLE_IPV6
     delete _ip6Acceptor;     delete _ip6Acceptor;
 #endif #endif
 #if !defined (PEGASUS_ENABLE_IPV6) || defined (PEGASUS_OS_TYPE_WINDOWS)  #if defined (PEGASUS_ENABLE_IPV6) && defined (PEGASUS_OS_TYPE_WINDOWS) \
       || !defined (PEGASUS_ENABLE_IPV6)
     delete _ip4Acceptor;     delete _ip4Acceptor;
 #endif #endif
     delete _monitor;     delete _monitor;
Line 205 
Line 209 
             _portNumber, _sslContext, false);             _portNumber, _sslContext, false);
     }     }
 #endif #endif
 #if !defined (PEGASUS_ENABLE_IPV6) || defined (PEGASUS_OS_TYPE_WINDOWS)  #if defined (PEGASUS_ENABLE_IPV6) && defined (PEGASUS_OS_TYPE_WINDOWS) \
       || !defined (PEGASUS_ENABLE_IPV6)
     if (NULL == _ip4Acceptor)     if (NULL == _ip4Acceptor)
     {     {
         _ip4Acceptor = new HTTPAcceptor(         _ip4Acceptor = new HTTPAcceptor(
Line 233 
Line 238 
             _portNumber);             _portNumber);
     }     }
 #endif #endif
 #if !defined (PEGASUS_ENABLE_IPV6) || defined (PEGASUS_OS_TYPE_WINDOWS)  #if defined (PEGASUS_ENABLE_IPV6) && defined (PEGASUS_OS_TYPE_WINDOWS) \
       || !defined (PEGASUS_ENABLE_IPV6)
     if (_ip4Acceptor != NULL)     if (_ip4Acceptor != NULL)
     {     {
         _ip4Acceptor->bind();         _ip4Acceptor->bind();
Line 297 
Line 303 
         _ip6Acceptor->reopenConnectionSocket();         _ip6Acceptor->reopenConnectionSocket();
     }     }
 #endif #endif
 #if !defined (PEGASUS_ENABLE_IPV6) || defined (PEGASUS_OS_TYPE_WINDOWS)  #if defined (PEGASUS_ENABLE_IPV6) && defined (PEGASUS_OS_TYPE_WINDOWS) \
       || !defined (PEGASUS_ENABLE_IPV6)
     if (_ip4Acceptor != NULL)     if (_ip4Acceptor != NULL)
     {     {
         _ip4Acceptor->reopenConnectionSocket();         _ip4Acceptor->reopenConnectionSocket();
Line 320 
Line 327 
         _ip6Acceptor->closeConnectionSocket();         _ip6Acceptor->closeConnectionSocket();
     }     }
 #endif #endif
 #if !defined (PEGASUS_ENABLE_IPV6) || defined (PEGASUS_OS_TYPE_WINDOWS)  #if defined (PEGASUS_ENABLE_IPV6) && defined (PEGASUS_OS_TYPE_WINDOWS) \
       || !defined (PEGASUS_ENABLE_IPV6)
     if (_ip4Acceptor != NULL)     if (_ip4Acceptor != NULL)
     {     {
         _ip4Acceptor->closeConnectionSocket();         _ip4Acceptor->closeConnectionSocket();
Line 335 
Line 343 
 #ifdef PEGASUS_ENABLE_IPV6 #ifdef PEGASUS_ENABLE_IPV6
     cnt = _ip6Acceptor->getOutstandingRequestCount();     cnt = _ip6Acceptor->getOutstandingRequestCount();
 #endif #endif
 #if !defined (PEGASUS_ENABLE_IPV6) || defined (PEGASUS_OS_TYPE_WINDOWS)  #if defined (PEGASUS_ENABLE_IPV6) && defined (PEGASUS_OS_TYPE_WINDOWS) \
       || !defined (PEGASUS_ENABLE_IPV6)
     cnt += _ip4Acceptor->getOutstandingRequestCount();     cnt += _ip4Acceptor->getOutstandingRequestCount();
 #endif #endif
  
Line 365 
Line 374 
     }     }
 #endif #endif
  
 #if !defined (PEGASUS_ENABLE_IPV6) || defined (PEGASUS_OS_TYPE_WINDOWS)  #if defined (PEGASUS_ENABLE_IPV6) && defined (PEGASUS_OS_TYPE_WINDOWS) \
       || !defined (PEGASUS_ENABLE_IPV6)
     if ((portNumber == 0) && (_ip4Acceptor != 0))     if ((portNumber == 0) && (_ip4Acceptor != 0))
     {     {
         portNumber = _ip4Acceptor->getPortNumber();         portNumber = _ip4Acceptor->getPortNumber();


Legend:
Removed from v.1.46.4.2  
changed lines
  Added in v.1.47.6.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2