diff options
author | Kim Alvefur <zash@zash.se> | 2019-07-24 16:50:06 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-07-24 16:50:06 +0200 |
commit | e6a6668fb5ec2eb87ec51bc23613d5c5046549ed (patch) | |
tree | 7bb04d928e43cbafaa7484e086d3d8f1bc25a1c4 /net/server_epoll.lua | |
parent | a8db3548e41edddef094c82ec1b8029834a5c47f (diff) | |
download | prosody-e6a6668fb5ec2eb87ec51bc23613d5c5046549ed.tar.gz prosody-e6a6668fb5ec2eb87ec51bc23613d5c5046549ed.zip |
net.server_epoll: Deprecate libevent emulation layer
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r-- | net/server_epoll.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua index f296dd37..b6f377fd 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -813,6 +813,7 @@ return { -- 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 |