mirror of
https://github.com/lxsang/ant-http
synced 2024-11-17 17:08:20 +01:00
use heavy task by default
This commit is contained in:
parent
81ff9f2c3c
commit
a187b48263
@ -185,6 +185,7 @@ void *accept_request(void *data)
|
|||||||
{
|
{
|
||||||
LOG("Too much attempt, give up on %d\n", client->sock);
|
LOG("Too much attempt, give up on %d\n", client->sock);
|
||||||
server_config.connection++;
|
server_config.connection++;
|
||||||
|
unknow(rq->client);
|
||||||
return task;
|
return task;
|
||||||
}
|
}
|
||||||
client->attempt++;
|
client->attempt++;
|
||||||
|
Loading…
Reference in New Issue
Block a user