aboutsummaryrefslogtreecommitdiffstats
path: root/spec/json/fail32.json
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-06-01 13:38:47 +0100
committerMatthew Wild <mwild1@gmail.com>2020-06-01 13:38:47 +0100
commit30d3969c22ef22ae5fd455a019ab0879c28f43fb (patch)
treec5940301867a9248565cc28dec381cd444aea75b /spec/json/fail32.json
parent5abc2e6a5ce803060cd2c03182d3ae95bd29f694 (diff)
downloadprosody-30d3969c22ef22ae5fd455a019ab0879c28f43fb.tar.gz
prosody-30d3969c22ef22ae5fd455a019ab0879c28f43fb.zip
net.server_select: Ensure onconnect is always called before onincoming
This changes the code to call onconnect when the first data is sucessfully read or written, instead of simply when the socket first becomes writable. A writable socket can mean a connection error, and if the client already sent some data it may get passed to onincoming before processing writable sockets. This fixes the issue.
Diffstat (limited to 'spec/json/fail32.json')
0 files changed, 0 insertions, 0 deletions