Don't leak eventfd

This commit is contained in:
flamingcow
2019-05-12 16:08:46 -07:00
parent 0ba446bacb
commit a39ef8e25d
2 changed files with 6 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ namespace firecgi {
class Server {
public:
Server(int port, const std::function<void(Request*)>& callback, int threads=1, int max_request_len=(16*1024));
~Server();
void Serve();
void Shutdown();
void RegisterSignalHandlers();