Software /
code /
prosody
Changeset
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 |
parents | 8892:fb38b2c77a72 |
children | 8894:7273fb6af831 |
files | net/websocket.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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"