Software /
code /
prosody
Diff
net/websocket.lua @ 8893:eb710675f7f8
net.websocket: Honour ex.insecure to match net.http's new parameter for that
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 08 Jun 2018 16:30:46 +0100 |
parent | 8892:fb38b2c77a72 |
child | 10112:b327f2870382 |
line wrap: on
line diff
--- a/net/websocket.lua Fri Jun 08 16:30:04 2018 +0100 +++ b/net/websocket.lua Fri Jun 08 16:30:46 2018 +0100 @@ -236,6 +236,7 @@ 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"