This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
Open
Description
There is some odd issue with Magnet and uploading forms. To explain it, I created two examples: uploading files with and without Magnet. They are practically the same, but the one with Magnet throws "stream ended unexpectedly" error :/
How to reproduce:
- Download and unzip this zip file. It contains two examples for uploading files - with and without Magnet.
- Do "npm install" in each of the directories and then "npm run dev". Open the browser on "http://localhost:3000" and try to upload a file.
Expected result in the Magnet demo:
File to be uploaded successfully.
Actual result:
A "stream ended unexpectedly" exception is being thrown.
Note: there is sync and async version in Magnet example. Both throw same error. By defaut the demo works with the sync version.
For reference, the original example (without Magnet) I copied from here.
Metadata
Assignees
Labels
No labels