mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
fix test for node 0.10 + socket.io-client@1.4.6 (engine.io-client@1.6.9) (#1010)
This commit is contained in:
parent
5082acc067
commit
3e966361bc
@ -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();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user