unix: fix epoll cpu 100% issue
Fixes: https://github.com/libuv/libuv/issues/2162 PR-URL: https://github.com/libuv/libuv/pull/2166 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Li YuBei <leeight@gmail.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
43744c3708
commit
f66eda7cba
@ -215,7 +215,7 @@ void uv_pipe_connect(uv_connect_t* req,
|
||||
}
|
||||
|
||||
if (err == 0)
|
||||
uv__io_start(handle->loop, &handle->io_watcher, POLLIN | POLLOUT);
|
||||
uv__io_start(handle->loop, &handle->io_watcher, POLLOUT);
|
||||
|
||||
out:
|
||||
handle->delayed_error = err;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user