Socket failing to transmit/receive when using 'upgrade' event and socket.write on Expressjs server
Hi, I'm using the
The event listener is attached to the
The script with this bug commented out is here (ctrl+f for 'upgrade'): https://gitea.proxnet.dev/zombieb/galvanic-corrosion/src/branch/master/src/main.ts
I can reproduce the problem here:
Without
Is this something I should create an issue for?
Any help appreciated.
ws npm module with my Express server (lots of routes were imported from a different project, one using Node with express in mind). Use of either socket.end or socket.write hangs the request.The event listener is attached to the
Server given by app.listen().The script with this bug commented out is here (ctrl+f for 'upgrade'): https://gitea.proxnet.dev/zombieb/galvanic-corrosion/src/branch/master/src/main.ts
I can reproduce the problem here:
Without
socket.write and socket.end, the server works as expected. With them, the response hangs.Is this something I should create an issue for?
Any help appreciated.
