version 1.177, 2006/01/30 16:18:31
|
version 1.177.2.3, 2006/09/19 18:29:19
|
|
|
exportConnection, | exportConnection, |
useSSL ? _sslContextMgr->getSSLContextObjectLock() : 0 ); | useSSL ? _sslContextMgr->getSSLContextObjectLock() : 0 ); |
} | } |
|
|
|
ConfigManager* configManager = ConfigManager::getInstance(); |
|
String socketWriteConfigTimeout = |
|
configManager->getCurrentValue("socketWriteTimeout"); |
|
// Set timeout value for server socket timeouts |
|
// depending on config option |
|
Uint32 socketWriteTimeout = |
|
strtol(socketWriteConfigTimeout.getCString(), (char **)0, 10); |
|
// equal what went wrong, there has to be a timeout |
|
if (socketWriteTimeout == 0) socketWriteTimeout = 20; |
|
acceptor->setSocketWriteTimeout(socketWriteTimeout); |
|
|
_acceptors.append(acceptor); | _acceptors.append(acceptor); |
} | } |
| |
|
|
startSLPProvider(); | startSLPProvider(); |
#endif | #endif |
| |
if(false == _monitor->run(500000)) |
_monitor->run(500000); |
|
|
|
static struct timeval lastIdleCleanupTime = {0, 0}; |
|
struct timeval now; |
|
|
|
gettimeofday(&now, 0); |
|
|
|
if (now.tv_sec - lastIdleCleanupTime.tv_sec > 300) |
{ | { |
|
lastIdleCleanupTime.tv_sec = now.tv_sec; |
|
|
try | try |
{ | { |
MessageQueueService::_check_idle_flag = 1; | MessageQueueService::_check_idle_flag = 1; |
|
|
"Export trust store name: " + exportTrustStore); | "Export trust store name: " + exportTrustStore); |
} | } |
| |
|
#ifdef PEGASUS_ENABLE_SSL_CRL_VERIFICATION |
// | // |
// Get the crlStore property from the Config Manager. | // Get the crlStore property from the Config Manager. |
// | // |
|
|
{ | { |
crlStore = ConfigManager::getHomedPath(crlStore); | crlStore = ConfigManager::getHomedPath(crlStore); |
} | } |
|
#else |
|
String crlStore = String::EMPTY; |
|
#endif |
| |
// | // |
// Get the sslCertificateFilePath property from the Config Manager. | // Get the sslCertificateFilePath property from the Config Manager. |