diff options
author | Kim Alvefur <zash@zash.se> | 2021-09-12 15:47:06 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-09-12 15:47:06 +0200 |
commit | db40eba6557868498685e86216c7dd12294b3434 (patch) | |
tree | 3c6f327bc778854799471038569ac1440c452dd3 /core/hostmanager.lua | |
parent | a9e760fc3b948fcef159faf4e0cb83f8d8c1b9f2 (diff) | |
download | prosody-db40eba6557868498685e86216c7dd12294b3434.tar.gz prosody-db40eba6557868498685e86216c7dd12294b3434.zip |
net.server_epoll: Try to make port number related methods sane
Previously it was unclear whether "client port" was the port that the
client connected to, or from. I hereby declare that the client port is
the source port and the server port is the destination port.
Incoming and outgoing connections can be distinguished by looking at
the_server reference, which only incoming connections have.
Diffstat (limited to 'core/hostmanager.lua')
0 files changed, 0 insertions, 0 deletions