Skip to content
Snippets Groups Projects
Commit 10a08e71 authored by Dmitry Simonenko's avatar Dmitry Simonenko
Browse files

lua-recvfrom: bugfix 1209189

Using box.socket:recvfrom on udp socket causing 100% CPU
utilization instead of idle
https://bugs.launchpad.net/tarantool/+bug/1209189
parent 11c4b9f7
No related branches found
No related tags found
No related merge requests found
......@@ -507,7 +507,7 @@ coio_recvfrom_timeout(struct ev_io *coio, void *buf, size_t sz, int flags,
return nrd;
if (! ev_is_active(coio)) {
ev_io_set(coio, coio->fd, EV_WRITE);
ev_io_set(coio, coio->fd, EV_READ);
ev_io_start(coio);
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment