Software /
code /
prosody
Changeset
319:4a8a949c3870
Fix for putting TLS in stream:features for connections already using TLS. Thanks to albert for spotting.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 16 Nov 2008 00:29:15 +0000 |
parents | 318:cc20ea4a8697 |
children | 320:b7a24b0ce767 |
files | net/server.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server.lua Sun Nov 16 00:27:40 2008 +0000 +++ b/net/server.lua Sun Nov 16 00:29:15 2008 +0000 @@ -523,6 +523,8 @@ return receive( socket, pattern, prefix ) end + handler.starttls = nil; + handler.handshake = coroutine_wrap( function( client ) local err for i = 1, 10 do -- 10 handshake attemps