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
commit7752f416f06c108576f48226d4c0929834e1c2ad (patch)
treec7e603222d20e73ff6486fe4f1c3e75288387f92
parentf0419180ead46f4172565be7c810e69fae6c6a93 (diff)
downloadprosody-7752f416f06c108576f48226d4c0929834e1c2ad.tar.gz
prosody-7752f416f06c108576f48226d4c0929834e1c2ad.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