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

Diff for /pegasus/src/Pegasus/Common/HTTPAcceptor.cpp between version 1.2 and 1.6

version 1.2, 2001/12/13 14:53:58 version 1.6, 2002/02/20 23:12:04
Line 25 
Line 25 
 // //
 // Modified By: // Modified By:
 //         Jenny Yu, Hewlett-Packard Company (jenny_yu@hp.com) //         Jenny Yu, Hewlett-Packard Company (jenny_yu@hp.com)
   //         Nag Boranna, Hewlett-Packard Company (nagaraja_boranna@hp.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 75 
Line 76 
 //////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
  
 HTTPAcceptor::HTTPAcceptor(Monitor* monitor, MessageQueue* outputMessageQueue) HTTPAcceptor::HTTPAcceptor(Monitor* monitor, MessageQueue* outputMessageQueue)
     : _monitor(monitor), _outputMessageQueue(outputMessageQueue), _rep(0),      : Base("HTTPAcceptor", MessageQueue::getNextQueueId()),
       _sslcontext(NULL)        _monitor(monitor), _outputMessageQueue(outputMessageQueue),
         _rep(0), _sslcontext(NULL)
 { {
   
     Socket::initializeInterface();     Socket::initializeInterface();
 } }
  
 HTTPAcceptor::HTTPAcceptor(Monitor* monitor, MessageQueue* outputMessageQueue, HTTPAcceptor::HTTPAcceptor(Monitor* monitor, MessageQueue* outputMessageQueue,
                            SSLContext * sslcontext)                            SSLContext * sslcontext)
     : _monitor(monitor), _outputMessageQueue(outputMessageQueue), _rep(0),     :       Base("HTTPAcceptor", MessageQueue::getNextQueueId()),
              _monitor(monitor), _outputMessageQueue(outputMessageQueue), _rep(0),
       _sslcontext(sslcontext)       _sslcontext(sslcontext)
 { {
     Socket::initializeInterface();     Socket::initializeInterface();
Line 180 
Line 184 
     // Create address:     // Create address:
  
     memset(&_rep->address, 0, sizeof(_rep->address));     memset(&_rep->address, 0, sizeof(_rep->address));
   
   #ifdef PEGASUS_ACCEPT_ONLY_LOCAL_CONNECTIONS
       _rep->address.sin_addr.s_addr = INADDR_LOOPBACK;
   #else
     _rep->address.sin_addr.s_addr = INADDR_ANY;     _rep->address.sin_addr.s_addr = INADDR_ANY;
   #endif
   
     _rep->address.sin_family = AF_INET;     _rep->address.sin_family = AF_INET;
     _rep->address.sin_port = htons(_portNumber);     _rep->address.sin_port = htons(_portNumber);
  
Line 335 
Line 345 
  
     sockaddr_in address;     sockaddr_in address;
  
 #if defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM)  #if defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) || defined(PEGASUS_PLATFORM_AIX_RS_IBMCXX)
     size_t n = sizeof(address);     size_t n = sizeof(address);
 #else #else
     int n = sizeof(address);     int n = sizeof(address);


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2