aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.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
commit3585385ab60126105f7e0c7900399ec05c56a781 (patch)
tree088ccbbe0ba2d12969c9b194f2c20fc709cb5dc1 /net/server_select.lua
parent73d6c64bd7b061a8790919daac19e09cd00fa5e1 (diff)
downloadprosody-3585385ab60126105f7e0c7900399ec05c56a781.tar.gz
prosody-3585385ab60126105f7e0c7900399ec05c56a781.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_select.lua')
0 files changed, 0 insertions, 0 deletions