Diff

net/http.lua @ 6501:71b6e8b48a12

Merge 0.9->0.10
author Kim Alvefur <zash@zash.se>
date Sun, 26 Oct 2014 20:57:06 +0100
parent 6382:57d23c26039b
parent 6496:e4b998ffc922
child 6502:8fed6ea12098
child 6780:647adfd8f738
line wrap: on
line diff
--- a/net/http.lua	Sun Oct 26 16:29:50 2014 +0100
+++ b/net/http.lua	Sun Oct 26 20:57:06 2014 +0100
@@ -175,7 +175,7 @@
 
 	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));