version 1.14, 2005/02/05 23:01:33
|
version 1.16, 2005/04/07 18:43:06
|
|
|
configManager->getCurrentValue("enableSSLExportClientVerification"), "true"); | configManager->getCurrentValue("enableSSLExportClientVerification"), "true"); |
| |
// Make sure at least one connection is enabled | // Make sure at least one connection is enabled |
#ifndef PEGASUS_LOCAL_DOMAIN_SOCKET |
#ifdef PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET |
if (!enableHttpConnection && !enableHttpsConnection) | if (!enableHttpConnection && !enableHttpsConnection) |
{ | { |
Logger::put(Logger::STANDARD_LOG, System::CIMSERVER, Logger::WARNING, | Logger::put(Logger::STANDARD_LOG, System::CIMSERVER, Logger::WARNING, |
|
|
// try loop to bind the address, and run the server | // try loop to bind the address, and run the server |
try | try |
{ | { |
Monitor monitor(true); |
Monitor monitor; |
CIMServer server(&monitor); | CIMServer server(&monitor); |
| |
if (enableHttpConnection) | if (enableHttpConnection) |
|
|
"Listening on Export HTTPS port $0.", portNumberExportHttps); | "Listening on Export HTTPS port $0.", portNumberExportHttps); |
} | } |
| |
#ifdef PEGASUS_LOCAL_DOMAIN_SOCKET |
#ifndef PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET |
server.addAcceptor(true, 0, false, false); | server.addAcceptor(true, 0, false, false); |
Logger::put(Logger::STANDARD_LOG, System::CIMSERVER, Logger::INFORMATION, | Logger::put(Logger::STANDARD_LOG, System::CIMSERVER, Logger::INFORMATION, |
"Listening on local connection socket."); | "Listening on local connection socket."); |
|
|
} | } |
| |
| |
# ifdef PEGASUS_LOCAL_DOMAIN_SOCKET |
# ifndef PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET |
cout << "Listening on local connection socket" << endl; | cout << "Listening on local connection socket" << endl; |
# endif | # endif |
#endif | #endif |