Software /
code /
prosody
Comparison
net/websocket.lua @ 10329:c0a72c97e6cf
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 12 Oct 2019 20:07:50 +0200 |
parent | 10113:66a9bc2d5c8d |
child | 10453:926d6086a95a |
comparison
equal
deleted
inserted
replaced
10328:5c2b31c823b9 | 10329:c0a72c97e6cf |
---|