Stop File stream if file is too large
Hey guys! I'm trying to do some file upload with trpc and I took the example from here: https://github.com/trpc/trpc/blob/main/examples/minimal-content-types/server/index.ts
In the console i can see if the file is too big:
So i see the 413 status.
But in the browser, the request stays in pending for a while then goes into
Any tips what i could look into to debug the issue?
In the console i can see if the file is too big:
POST /api/trpc/upload.file 413 in 426msSo i see the 413 status.
But in the browser, the request stays in pending for a while then goes into
(failed)net::ERR_CONNECTION_RESETAny tips what i could look into to debug the issue?
GitHub
Move Fast and Break Nothing. End-to-end typesafe APIs made easy. - trpc/trpc