diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-06-08 16:30:46 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-06-08 16:30:46 +0100 |
commit | 74bfc82312facf3b94d795eb22884cd53050f799 (patch) | |
tree | 4ef62bc9340c218f40253a71c12f06f6e2e36c98 /net | |
parent | 3892eb50635cbabe788b8004d74de3297dc037de (diff) | |
download | prosody-74bfc82312facf3b94d795eb22884cd53050f799.tar.gz prosody-74bfc82312facf3b94d795eb22884cd53050f799.zip |
net.websocket: Honour ex.insecure to match net.http's new parameter for that
Diffstat (limited to 'net')
-rw-r--r-- | net/websocket.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/websocket.lua b/net/websocket.lua index 3e4bcc2c..469c6a58 100644 --- a/net/websocket.lua +++ b/net/websocket.lua @@ -236,6 +236,7 @@ local function connect(url, ex, listeners) method = "GET"; headers = headers; sslctx = ex.sslctx; + insecure = ex.insecure; }, function(b, c, r, http_req) if c ~= 101 or r.headers["connection"]:lower() ~= "upgrade" |