Software /
code /
prosody
Changeset
10088:97da8452c6a6
net.server_epoll: Deprecate libevent emulation layer
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 24 Jul 2019 16:50:06 +0200 |
parents | 10087:36d3709603d1 |
children | 10089:90e459f48cbd |
files | net/server_epoll.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_epoll.lua Fri Jul 26 21:13:17 2019 +0200 +++ b/net/server_epoll.lua Wed Jul 24 16:50:06 2019 +0200 @@ -813,6 +813,7 @@ -- libevent emulation event = { EV_READ = "r", EV_WRITE = "w", EV_READWRITE = "rw", EV_LEAVE = -1 }; addevent = function (fd, mode, callback) + log("warn", "Using deprecated libevent emulation, please update code to use watchfd API instead"); local function onevent(self) local ret = self:callback(); if ret == -1 then