mirror of
https://github.com/lxsang/ant-http
synced 2024-12-25 00:08:21 +01:00
fix scheduler bug: Scheduler dont validate client data as expected
This commit is contained in:
parent
69ad08b1a1
commit
8c11f06ff0
BIN
dist/antd-1.0.5b.tar.gz
vendored
BIN
dist/antd-1.0.5b.tar.gz
vendored
Binary file not shown.
@ -308,8 +308,8 @@ int antd_scheduler_init(antd_scheduler_t *scheduler, int n)
|
|||||||
scheduler->status = 1;
|
scheduler->status = 1;
|
||||||
scheduler->workers_queue = NULL;
|
scheduler->workers_queue = NULL;
|
||||||
scheduler->pending_task = 0;
|
scheduler->pending_task = 0;
|
||||||
scheduler->validate_data = 0;
|
// scheduler->validate_data = 0;
|
||||||
scheduler->destroy_data = NULL;
|
// scheduler->destroy_data = NULL;
|
||||||
scheduler->stat_fd = -1;
|
scheduler->stat_fd = -1;
|
||||||
//scheduler->stat_data_cb = NULL;
|
//scheduler->stat_data_cb = NULL;
|
||||||
//memset(scheduler->stat_fifo, 0, MAX_FIFO_NAME_SZ);
|
//memset(scheduler->stat_fifo, 0, MAX_FIFO_NAME_SZ);
|
||||||
|
Loading…
Reference in New Issue
Block a user