Posted on
2014-01-02 17:13浮萍晓生
阅读(1346)
评论(0)
编辑收藏举报
这个地方有好多的不明白,也没仔细的看懂代码,希望有牛人指点。
先记录几个issue
1、
after_write recv many(>10000) ECANCELED
in my write_cb i get status,that is uv_err_name eq ECALCELED,it is UV_ECALCELED?
can i close the (uv_write_t*)req->handle?
I'm not 100% sure what you mean. If you have e.g. a uv_tcp_t or uv_pipe_t handle and your uv_write_t callback is called with status=UV_ECANCELED, that means the handle is closing.
in my write_cb i get status,that is uv_err_name eq ECALCELED,it is UV_ECALCELED?
can i close the (uv_write_t*)req->handle?
I'm not 100% sure what you mean. If you have e.g. a uv_tcp_t or uv_pipe_t handle and your uv_write_t callback is called with status=UV_ECANCELED, that means the handle is closing.