File

server.lua @ 500:674daff6c73b

use util.bitcompat from Prosody for bitwise compat layer
author Kim Alvefur <zash@zash.se>
date Fri, 23 Jun 2023 12:26:43 +0200
parent 492:22844ac3be4e
line wrap: on
line source

local have_epoll, server_epoll = pcall(require, "prosody.net.server_epoll");
if have_epoll then return server_epoll; end

local server_select = require "prosody.net.server_select";
return server_select;