Mercurial > prosody-hg
view util/time.lua @ 9643:bb8486491b48 0.10.3
mod_proxy65: Check what port is used at the time of the query
Could have changed between startup and time of request
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 25 Nov 2018 13:16:17 +0100 |
| parents | 72e48bddf617 |
| children |
line wrap: on
line source
-- Import gettime() from LuaSocket, as a way to access high-resolution time -- in a platform-independent way local socket_gettime = require "socket".gettime; return { now = socket_gettime; }
