Added proper shutdown to HTTPServer.
This commit is contained in:
parent
dabbf24f58
commit
d147935853
@ -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;
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user