socketio-file-upload
socketio-file-upload copied to clipboard
Socket disconnects may cancel in-progress uploads for other clients
The _onDisconnect
function seems problematic. It is run after any client disconnects, but it cancels file uploads from all clients. This is probably a bug.
See #110
I'm going to try to replicate this bug over the next couple of days.
Did you happen to be able to replicate this issue? Since this is blocking #110 which has been stale for a while.
I'm sorry, this package has been a trustworthy workhorse; but my organization is moving away from it in favor of a custom Typescript implementation. Hopefully we'll open source it.
If you are able to publish your TypeScript library, I would be happy to recommend it as an alternative to this library. The ecosystem has changed a lot since this was written, and I think the next natural step is to have a whole new clean implementation.