diff --git a/dist/tunnel-0.1.0b.tar.gz b/dist/tunnel-0.1.0b.tar.gz index d6833d8..52cf55f 100644 Binary files a/dist/tunnel-0.1.0b.tar.gz and b/dist/tunnel-0.1.0b.tar.gz differ diff --git a/tunnel.c b/tunnel.c index c17bc44..96f07ca 100644 --- a/tunnel.c +++ b/tunnel.c @@ -1117,5 +1117,6 @@ void *handle(void *rq_data) } task->handle = handle; task->access_time = time(NULL); + antd_task_bind_event(task,rq->client->sock,0, TASK_EVT_ON_WRITABLE| TASK_EVT_ON_READABLE); return task; } \ No newline at end of file