From 6e3739f49ca626d91e396ff8342d273137ccdb6e Mon Sep 17 00:00:00 2001 From: Jeremy Judeaux Date: Tue, 24 May 2016 12:19:47 +0800 Subject: [PATCH] fix test for node 0.10 + socket.io-client@1.4.6 (engine.io-client@1.6.9) --- test/lib-http-proxy-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib-http-proxy-test.js b/test/lib-http-proxy-test.js index edbb6f9f1..385c8aad2 100644 --- a/test/lib-http-proxy-test.js +++ b/test/lib-http-proxy-test.js @@ -419,7 +419,7 @@ describe('lib/http-proxy.js', function() { var destiny = io.listen(server); function startSocketIo() { - var client = ioClient.connect('ws://127.0.0.1:' + ports.proxy); + var client = ioClient.connect('ws://127.0.0.1:' + ports.proxy, {rejectUnauthorized: null}); client.on('connect', function () { client.disconnect(); });