aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-10-12 20:07:50 +0200
committerKim Alvefur <zash@zash.se>2019-10-12 20:07:50 +0200
commitec277db6ab17f16c5cb7b8a38b16d32db111868a (patch)
tree088ccbbe0ba2d12969c9b194f2c20fc709cb5dc1 /net/server_event.lua
parent67e6ee1d8365ade2138454d668e7bbbe169290d2 (diff)
downloadprosody-ec277db6ab17f16c5cb7b8a38b16d32db111868a.tar.gz
prosody-ec277db6ab17f16c5cb7b8a38b16d32db111868a.zip
net.server_epoll: Fix to get remote IP on direct TLS connections
A Direct TLS connection (eg HTTPS) gets turned into a LuaSec handle before the :updatenames call done in the :connect method. LuaSec does not expose the :getpeername and :getsockname methods, so the addresses remain obscured, making debugging trickier since the actual IP addrerss connected to does not show up.
Diffstat (limited to 'net/server_event.lua')
0 files changed, 0 insertions, 0 deletions