update turn config to prevent internal access
https://www.rtcsec.com/2020/04/01-slack-webrtc-turn-compromise/
This commit is contained in:
@@ -301,6 +301,7 @@ function initializeExpressSync() {
|
||||
|
||||
// upgrade handler
|
||||
httpServer.on('upgrade', function (req, socket, head) {
|
||||
console.log('THIS IS IN AN UPGADE');
|
||||
// create a node response object for express
|
||||
var res = new http.ServerResponse({});
|
||||
res.assignSocket(socket);
|
||||
|
||||
Reference in New Issue
Block a user