mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
Websocket key was unnecessary long.
This commit is contained in:
parent
da674ec4df
commit
ca73208749
@ -415,7 +415,7 @@ describe('lib/http-proxy.js', function() {
|
||||
}),
|
||||
proxyServer = proxy.listen(ports.proxy),
|
||||
destiny = new ws.Server({ port: ports.source }, function () {
|
||||
var key = new Buffer(Math.random().toString(35)).toString('base64');
|
||||
var key = new Buffer(Math.random().toString()).toString('base64');
|
||||
|
||||
var requestOptions = {
|
||||
port: ports.proxy,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user