aboutsummaryrefslogtreecommitdiffstats
path: root/net/server.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-02-23 15:33:02 +0000
committerMatthew Wild <mwild1@gmail.com>2018-02-23 15:33:02 +0000
commit184e6e34f0c0942ed6d3779c644a715973234b15 (patch)
tree66dbccd699d40147f9f15b281aca93cfd11c726c /net/server.lua
parent17f7c8bc3a0b9ede9507c39245cddd8f1260cc7e (diff)
downloadprosody-184e6e34f0c0942ed6d3779c644a715973234b15.tar.gz
prosody-184e6e34f0c0942ed6d3779c644a715973234b15.zip
net.server_event: Better outgoing connection error handling
Same as 67311cda0625. Check for readability. If a socket is readable after initial connection, it likely means an error, so we call the readcallback for that connection to handle it (and ultimately close).
Diffstat (limited to 'net/server.lua')
0 files changed, 0 insertions, 0 deletions