SIGN IN SIGN UP
socketio / socket.io UNCLAIMED

Realtime application framework (Node.JS server)

0 0 0 TypeScript

fix(uws): discard any write to an aborted uWS response (#682)

This bug only exists for polling transport connections running on top
of uWS.

If the remote client abruptly disconnects (thus aborting the request)
while the server is waiting on an asynchronous operation such as
compression, the server may attempt to write a response via the aborted
response object. This causes an uncaught exception to be thrown.
S
Sean Oxley committed
3144d274584ae3b96cca4e609c66c56d534f1715
Parent: 7bd7775
Committed by GitHub <noreply@github.com> on 5/31/2023, 12:27:40 PM