mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-08-27 10:40:23 +01:00
TCP server added and changes made to the HTTP server.
This commit is contained in:
parent
5ad9c8e740
commit
a505f5a692
5 changed files with 665 additions and 20 deletions
|
@ -29,10 +29,10 @@ namespace util
|
|||
virtual void run () {};
|
||||
|
||||
virtual void setDataDir (std::string path);
|
||||
|
||||
|
||||
bool onTcpServer;
|
||||
bool isDaemon;
|
||||
bool running;
|
||||
|
||||
protected:
|
||||
|
||||
Daemon_Singleton ();
|
||||
|
@ -114,12 +114,11 @@ namespace util
|
|||
void run ();
|
||||
|
||||
private:
|
||||
|
||||
std::string pidfile;
|
||||
int pidFH;
|
||||
|
||||
public:
|
||||
|
||||
bool onTcpServer;
|
||||
int gracefulShutdownInterval; // in seconds
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue