1
0

Added proper shutdown to HTTPServer.

This commit is contained in:
madmaxoft 2013-10-06 15:44:40 +02:00
parent dabbf24f58
commit d147935853
2 changed files with 10 additions and 0 deletions

View File

@ -127,6 +127,15 @@ cHTTPServer::cHTTPServer(void) :
cHTTPServer::~cHTTPServer()
{
Stop();
}
bool cHTTPServer::Initialize(const AString & a_PortsIPv4, const AString & a_PortsIPv6) bool cHTTPServer::Initialize(const AString & a_PortsIPv4, const AString & a_PortsIPv6)
{ {
bool HasAnyPort; bool HasAnyPort;

View File

@ -50,6 +50,7 @@ public:
} ; } ;
cHTTPServer(void); cHTTPServer(void);
~cHTTPServer();
/// Initializes the server on the specified ports /// Initializes the server on the specified ports
bool Initialize(const AString & a_PortsIPv4, const AString & a_PortsIPv6); bool Initialize(const AString & a_PortsIPv4, const AString & a_PortsIPv6);