libuv 错误号UV_ECANCELED 的处理

这个地方有好多的不明白,也没仔细的看懂代码,希望有牛人指点。

先记录几个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.

原文地址:https://www.cnblogs.com/walker-lc/p/3502210.html