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
58443ae2e9
commit
882b7cb653
@ -219,7 +219,6 @@ void *accept_request(void *data)
|
||||
return task;
|
||||
}
|
||||
}
|
||||
client->attempt = 0;
|
||||
client->status = 1;
|
||||
task->handle = accept_request;
|
||||
return task;
|
||||
@ -233,6 +232,7 @@ void *accept_request(void *data)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
client->attempt = 0;
|
||||
server_config.connection++;
|
||||
read_buf(rq->client, buf, sizeof(buf));
|
||||
line = buf;
|
||||
|
Loading…
Reference in New Issue
Block a user