aboutsummaryrefslogtreecommitdiffstats
path: root/net/http.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2014-10-14 18:55:08 +0100
committerMatthew Wild <mwild1@gmail.com>2014-10-14 18:55:08 +0100
commit26cd63e77f53b850e5fc340a3b7981470cbde38d (patch)
treee267f4722b8414541b27c335ae0816b0a2d3e7b5 /net/http.lua
parentdc951d561795a325328e01697f60aef0657ad5e5 (diff)
downloadprosody-26cd63e77f53b850e5fc340a3b7981470cbde38d.tar.gz
prosody-26cd63e77f53b850e5fc340a3b7981470cbde38d.zip
certmanager, net.http: Disable SSLv3 by default0.9.6
Diffstat (limited to 'net/http.lua')
-rw-r--r--net/http.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http.lua b/net/http.lua
index 9dde6062..8ce47494 100644
--- a/net/http.lua
+++ b/net/http.lua
@@ -175,7 +175,7 @@ function request(u, ex, callback)
local sslctx = false;
if using_https then
- sslctx = ex and ex.sslctx or { mode = "client", protocol = "sslv23", options = { "no_sslv2" } };
+ sslctx = ex and ex.sslctx or { mode = "client", protocol = "sslv23", options = { "no_sslv2", "no_sslv3" } };
end
req.handler, req.conn = assert(server.wrapclient(conn, host, port_number, listener, "*a", sslctx));