aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-02-23 15:30:00 +0000
committerMatthew Wild <mwild1@gmail.com>2018-02-23 15:30:00 +0000
commit17f7c8bc3a0b9ede9507c39245cddd8f1260cc7e (patch)
tree396e06b6e413da3e1699551a2deef98cf608447a /Makefile
parentdedbe4d9949425353c321c51721ae11cf1de09a1 (diff)
downloadprosody-17f7c8bc3a0b9ede9507c39245cddd8f1260cc7e.tar.gz
prosody-17f7c8bc3a0b9ede9507c39245cddd8f1260cc7e.zip
net.server_select: Better detection of errors for outgoing connections
On connection failure, a socket is marked readable and writable. So to detect initial connection failures (connection refused, etc.) we now watch for sockets becoming readable during initial connection, and also read from readable sockets before writing to writable sockets. This should fix 'onconnect' being called for outgoing connections that actually failed.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions