From 26f35cb4200b1db5d2467e25e1651c8fa1dd6368 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 8 Jun 2018 16:30:46 +0100 Subject: net.websocket: Honour ex.insecure to match net.http's new parameter for that --- net/websocket.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'net') 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" -- cgit v1.2.3