From dddb091d77603ee5d7337d25163ad335b89450c5 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Mon, 3 Mar 2025 08:19:20 +0000 Subject: [PATCH] [real-time] retire legacy transports on the server-side as well (#23983) GitOrigin-RevId: 27dad39e889a5df46943c4f393277be16ab8ffdd --- services/real-time/app.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/services/real-time/app.js b/services/real-time/app.js index 446432d543..85b469bf90 100644 --- a/services/real-time/app.js +++ b/services/real-time/app.js @@ -82,16 +82,7 @@ io.configure(function () { // See http://answers.dotcloud.com/question/578/problem-with-websocket-over-ssl-in-safari-with io.set('match origin protocol', true) - // gzip uses a Node 0.8.x method of calling the gzip program which - // doesn't work with 0.6.x - // io.enable('browser client gzip') - io.set('transports', [ - 'websocket', - 'flashsocket', - 'htmlfile', - 'xhr-polling', - 'jsonp-polling', - ]) + io.set('transports', ['websocket', 'xhr-polling']) }) // Serve socket.io.js client file from imported dist folder