Skip to content

Commit 2889725

Browse files
committed
fixup! Add flag to enable permessage-deflate
1 parent bed8560 commit 2889725

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node/routes/vscode.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ wsRouter.ws("/", ensureAuthenticated, async (req) => {
210210
`Sec-WebSocket-Accept: ${reply}`,
211211
]
212212

213-
// TODO: Support compression in development only for now until we can be sure
214-
// it's stable (see zlib issues).
213+
// TODO: Leave compression behind a flag for now until we can be sure it's
214+
// stable (see zlib issues).
215215
// TODO: Parse this header properly.
216216
const extensions = req.headers["sec-websocket-extensions"]
217217
const permessageDeflate = extensions

0 commit comments

Comments
 (0)