Improve server logging with IPs and error messages
This commit is contained in:
parent
0281597e2f
commit
4bf6a07f9c
4 changed files with 73 additions and 48 deletions
|
@ -42,7 +42,7 @@ public:
|
|||
static bool start();
|
||||
static void release();
|
||||
|
||||
static unsigned handleGET(const Options* options, const std::string& url, const std::string& clientId, std::string& resp);
|
||||
static unsigned handleGET(const Options* options, const std::string& url, const std::string& clientIp, const std::string& clientId, std::string& resp);
|
||||
static unsigned handlePOST(const Options* options, const std::string& url, const std::string& clientIp, const std::string& clientId, const std::string& data, std::string& resp);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue