Force close connection if IP address banned.
This commit is contained in:
parent
e049b80f1a
commit
9cb7d727c2
2 changed files with 24 additions and 1 deletions
|
@ -77,6 +77,7 @@ public:
|
|||
private:
|
||||
constexpr static size_t kRecvBufSize = 4096;
|
||||
|
||||
bool isCriticalError(const char *message);
|
||||
bool parseJob(const json_t *params, int *code);
|
||||
bool parseLogin(const json_t *result, int *code);
|
||||
int resolve(const char *host);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue