diff options
author | Kim Alvefur <zash@zash.se> | 2014-09-28 01:56:22 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-09-28 01:56:22 +0200 |
commit | b0190726e5b46b3accb081366c921839b8ee2441 (patch) | |
tree | cfaf4c445383819dc32ada72c88e3f18079d9b30 /net | |
parent | 865f1b1e8f99ab70c45cb2a4f94df34a2cb190ea (diff) | |
parent | bf317774d921f17f73443b59008970a68f756082 (diff) | |
download | prosody-b0190726e5b46b3accb081366c921839b8ee2441.tar.gz prosody-b0190726e5b46b3accb081366c921839b8ee2441.zip |
Merge 0.10->trunk
Diffstat (limited to 'net')
-rw-r--r-- | net/server_select.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/server_select.lua b/net/server_select.lua index 9b8e41d9..b9785678 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -569,6 +569,9 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport _ = status and status( handler, "ssl-handshake-complete" ) if self.autostart_ssl and listeners.onconnect then listeners.onconnect(self); + if bufferqueuelen ~= 0 then + _sendlistlen = addsocket(_sendlist, client, _sendlistlen) + end end _readlistlen = addsocket(_readlist, client, _readlistlen) return true |