Skip to content

Commit

Permalink
Merge pull request #91 from vahtos/fix_uploads
Browse files Browse the repository at this point in the history
Fix uploads race
  • Loading branch information
markhughes authored Jan 29, 2024
2 parents 9636ed4 + 3a4a9ba commit ecafda4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/lib/services/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ function handleUploadRequest(req, res) {
closeConnection();
});

req.on("close", async () => {
bb.on("close", async () => {
if (!done) {
log.info(req, res, "Upload cancelled");

Expand Down

0 comments on commit ecafda4

Please sign in to comment.