projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f5fb02
)
net.server_select: When an SSL handshake is connected, if there is pending data to...
author
Matthew Wild
<mwild1@gmail.com>
Fri, 26 Sep 2014 16:16:46 +0000
(17:16 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Fri, 26 Sep 2014 16:16:46 +0000
(17:16 +0100)
net/server_select.lua
patch
|
blob
|
history
diff --git
a/net/server_select.lua
b/net/server_select.lua
index d2192f0abd827bea81de3746f06bde11d5b3ea30..33c18a606140b316ecc55045104bac1750e683a7 100644
(file)
--- a/
net/server_select.lua
+++ b/
net/server_select.lua
@@
-568,6
+568,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