version 1.123, 2007/10/23 17:34:50
|
version 1.124, 2007/10/29 08:14:34
|
|
|
// based on whether IPv6 is enabled. | // based on whether IPv6 is enabled. |
// | // |
| |
|
Socket::initializeInterface(); |
|
|
# ifdef PEGASUS_ENABLE_IPV6 | # ifdef PEGASUS_ENABLE_IPV6 |
struct sockaddr_storage listenAddress; | struct sockaddr_storage listenAddress; |
struct sockaddr_storage clientAddress; | struct sockaddr_storage clientAddress; |
|
|
PEG_TRACE_CSTRING(TRC_HTTP, Tracer::LEVEL4, | PEG_TRACE_CSTRING(TRC_HTTP, Tracer::LEVEL4, |
"Failed to close tickle sockets"); | "Failed to close tickle sockets"); |
} | } |
|
Socket::uninitializeInterface(); |
} | } |
| |
| |
|
|
_solicitSocketCount(0) | _solicitSocketCount(0) |
{ | { |
int numberOfMonitorEntriesToAllocate = MAX_NUMBER_OF_MONITOR_ENTRIES; | int numberOfMonitorEntriesToAllocate = MAX_NUMBER_OF_MONITOR_ENTRIES; |
Socket::initializeInterface(); |
|
_entries.reserveCapacity(numberOfMonitorEntriesToAllocate); | _entries.reserveCapacity(numberOfMonitorEntriesToAllocate); |
| |
// Create a MonitorEntry for the Tickler and set its state to IDLE so the | // Create a MonitorEntry for the Tickler and set its state to IDLE so the |
|
|
| |
Monitor::~Monitor() | Monitor::~Monitor() |
{ | { |
Socket::uninitializeInterface(); |
|
PEG_TRACE_CSTRING(TRC_HTTP, Tracer::LEVEL4, | PEG_TRACE_CSTRING(TRC_HTTP, Tracer::LEVEL4, |
"returning from monitor destructor"); | "returning from monitor destructor"); |
} | } |