aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_dbuffer_spec.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-09-12 15:47:06 +0200
committerKim Alvefur <zash@zash.se>2021-09-12 15:47:06 +0200
commitdb40eba6557868498685e86216c7dd12294b3434 (patch)
tree3c6f327bc778854799471038569ac1440c452dd3 /spec/util_dbuffer_spec.lua
parenta9e760fc3b948fcef159faf4e0cb83f8d8c1b9f2 (diff)
downloadprosody-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 'spec/util_dbuffer_spec.lua')
0 files changed, 0 insertions, 0 deletions