mirror of
https://github.com/lxsang/ant-http
synced 2024-12-26 00:38:21 +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;
|
return task;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
client->attempt = 0;
|
|
||||||
client->status = 1;
|
client->status = 1;
|
||||||
task->handle = accept_request;
|
task->handle = accept_request;
|
||||||
return task;
|
return task;
|
||||||
@ -233,6 +232,7 @@ void *accept_request(void *data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
client->attempt = 0;
|
||||||
server_config.connection++;
|
server_config.connection++;
|
||||||
read_buf(rq->client, buf, sizeof(buf));
|
read_buf(rq->client, buf, sizeof(buf));
|
||||||
line = buf;
|
line = buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user