prosody/net
Matthew Wild 30d3969c22 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.
2020-06-01 13:38:47 +01:00
..
http Merge 0.11->trunk 2020-04-26 20:49:31 +02:00
resolvers net.resolvers.service: Fix resolving of targets with multiple IPs 2020-02-16 23:48:31 +01:00
websocket util.bitops: Library to find appropriate bitwise library (closes #1395) 2019-07-22 01:58:57 +02:00
adns.lua net.adns: Add :lookup_promise() method 2020-01-24 13:50:02 +00:00
connect.lua Backed out changeset 44ef46e1a951 (not optimal API) 2020-01-25 14:25:29 +00:00
cqueues.lua net.cqueues: Fix incorrect version check 2015-01-16 12:06:42 -05:00
dns.lua net.dns: Handle being loaded outside of Prosody 2020-02-24 20:21:46 +01:00
http.lua net.http: Return a Promise if no callback is given 2020-05-06 18:03:20 +02:00
httpserver.lua net.httpserver: Make function local, fixes loading since there is no environment [luacheck] 2018-03-23 13:20:19 +01:00
server.lua net.server: Throw error when loading outside Prosody or Prosody config not loaded 2018-08-19 14:45:19 +01:00
server_epoll.lua net.server_epoll: Fix typo in internal method name 2020-05-22 15:36:03 +02:00
server_event.lua net.server_event: Silence luacheck warnings 2019-12-23 21:52:28 +01:00
server_select.lua net.server_select: Ensure onconnect is always called before onincoming 2020-06-01 13:38:47 +01:00
websocket.lua net.websocket: Fix traceback in case of ondisconnect being called twice 2019-11-26 15:29:01 +00:00