diff options
author | Kim Alvefur <zash@zash.se> | 2021-02-27 21:37:16 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-02-27 21:37:16 +0100 |
commit | 2acba6238860aaf3e323b12ddcd6d89d6644b486 (patch) | |
tree | 71f368914e78246814265e0cf28e168908db1af0 /plugins/mod_tokenauth.lua | |
parent | d8bcee69f3b287f8948604e72f76cf543cac33a0 (diff) | |
download | prosody-2acba6238860aaf3e323b12ddcd6d89d6644b486.tar.gz prosody-2acba6238860aaf3e323b12ddcd6d89d6644b486.zip |
net.http.server: Set request.ip so mod_http doesn't have to
Because it already sets request.secure, which depends on the connection,
just like the IP, so it makes sense to do both in the same place.
Dealing with proxies can be left to mod_http for now, but maybe it could
move into some util some day?
Diffstat (limited to 'plugins/mod_tokenauth.lua')
0 files changed, 0 insertions, 0 deletions