mirror of
https://github.com/lxsang/antd-tunnel-plugin
synced 2024-11-16 09:48:21 +01:00
improvement code
This commit is contained in:
parent
34cdfb996e
commit
826eec21fd
BIN
dist/tunnel-0.1.0b.tar.gz
vendored
BIN
dist/tunnel-0.1.0b.tar.gz
vendored
Binary file not shown.
1
tunnel.c
1
tunnel.c
@ -1117,5 +1117,6 @@ void *handle(void *rq_data)
|
|||||||
}
|
}
|
||||||
task->handle = handle;
|
task->handle = handle;
|
||||||
task->access_time = time(NULL);
|
task->access_time = time(NULL);
|
||||||
|
antd_task_bind_event(task,rq->client->sock,0, TASK_EVT_ON_WRITABLE| TASK_EVT_ON_READABLE);
|
||||||
return task;
|
return task;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user