mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
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. |
||
---|---|---|
.. | ||
http | ||
resolvers | ||
websocket | ||
adns.lua | ||
connect.lua | ||
cqueues.lua | ||
dns.lua | ||
http.lua | ||
httpserver.lua | ||
server.lua | ||
server_epoll.lua | ||
server_event.lua | ||
server_select.lua | ||
websocket.lua |