Annotate

server.lua @ 497:eb86e3751978

util.vcard: Move into verse namespace since it's removed from Prosody See Prosody rev 79431e0282a9
author Kim Alvefur <zash@zash.se>
date Fri, 23 Jun 2023 10:12:38 +0200
parent 492:22844ac3be4e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
492
22844ac3be4e server: Import one of Prosodys net.server implementations
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 local have_epoll, server_epoll = pcall(require, "prosody.net.server_epoll");
22844ac3be4e server: Import one of Prosodys net.server implementations
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 if have_epoll then return server_epoll; end
22844ac3be4e server: Import one of Prosodys net.server implementations
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3
22844ac3be4e server: Import one of Prosodys net.server implementations
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 local server_select = require "prosody.net.server_select";
22844ac3be4e server: Import one of Prosodys net.server implementations
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 return server_select;