Software /
code /
prosody
File
.hgignore @ 10851:6cf16abd0976
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.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 01 Jun 2020 13:38:47 +0100 |
parent | 8345:850c433eb862 |
line wrap: on
line source
syntax: glob .hgignore .luacheckcache data local www_files html/* prosody.lua prosody.cfg.lua prosody.version config.unix *.patch *.diff *.orig *.rej *.save *~ *.o *.so *.install *.pid *.log *.err *.debug *.dll *.exp *.lib *.obj luacov.report.out luacov.report.out.index luacov.stats.out