diff options
author | Kim Alvefur <zash@zash.se> | 2019-10-12 20:07:50 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-10-12 20:07:50 +0200 |
commit | 3585385ab60126105f7e0c7900399ec05c56a781 (patch) | |
tree | 088ccbbe0ba2d12969c9b194f2c20fc709cb5dc1 /util/ip.lua | |
parent | 73d6c64bd7b061a8790919daac19e09cd00fa5e1 (diff) | |
download | prosody-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 'util/ip.lua')
0 files changed, 0 insertions, 0 deletions