Merge branch master into code-asher/ch1385

This commit is contained in:
Asher
2020-11-12 11:52:02 -06:00
21 changed files with 317 additions and 184 deletions

View File

@ -5,6 +5,8 @@ import * as net from "net"
export const handleUpgrade = (app: express.Express, server: http.Server): void => {
server.on("upgrade", (req, socket, head) => {
socket.pause()
req.ws = socket
req.head = head
req._ws_handled = false