Skip to content

Commit ca73208

Browse files
ArGGujcrugzz
authored andcommitted
Websocket key was unnecessary long.
1 parent da674ec commit ca73208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lib-http-proxy-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ describe('lib/http-proxy.js', function() {
415415
}),
416416
proxyServer = proxy.listen(ports.proxy),
417417
destiny = new ws.Server({ port: ports.source }, function () {
418-
var key = new Buffer(Math.random().toString(35)).toString('base64');
418+
var key = new Buffer(Math.random().toString()).toString('base64');
419419

420420
var requestOptions = {
421421
port: ports.proxy,

0 commit comments

Comments
 (0)