aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-08-20 14:59:31 -0400
committerMatthew Wild <mwild1@gmail.com>2011-08-20 14:59:31 -0400
commit2757058cd20fa0d70c222adf24c006d03680b81f (patch)
treec7e603222d20e73ff6486fe4f1c3e75288387f92
parent263e2e801539a361cd7b07ba6fee3379ac806817 (diff)
downloadprosody-2757058cd20fa0d70c222adf24c006d03680b81f.tar.gz
prosody-2757058cd20fa0d70c222adf24c006d03680b81f.zip
net.server_select: Do not set 'ssl' flag simply when assigning an sslctx to a handler, it doesn't mean anything
-rw-r--r--net/server_select.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index 4a22d2ed..96c73fde 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -511,7 +511,6 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
-- Set the sslctx
local handshake;
function handler.set_sslctx(self, new_sslctx)
- ssl = true
sslctx = new_sslctx;
local wrote
local read