diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-02-23 15:33:02 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-02-23 15:33:02 +0000 |
commit | 117211cdd664f127b48bfb24119bdaf6e00fb2bd (patch) | |
tree | 66dbccd699d40147f9f15b281aca93cfd11c726c /net/http/codes.lua | |
parent | a4aeb103dd3274bd174161e9e0f3eff1c5fdca92 (diff) | |
download | prosody-117211cdd664f127b48bfb24119bdaf6e00fb2bd.tar.gz prosody-117211cdd664f127b48bfb24119bdaf6e00fb2bd.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/http/codes.lua')
0 files changed, 0 insertions, 0 deletions