orhun / rustypaste

A minimal file upload/pastebin service.
https://blog.orhun.dev/blazingly-fast-file-sharing
MIT License
760 stars 47 forks source link

Network Error: Broken pipe when uploading a big file #340

Open repomansez opened 2 weeks ago

repomansez commented 2 weeks ago

I tried to upload a 3.9G zip file but when it was about 350m in I got Network Error: Broken pipe (os error 32)`

I thought it could be nginx but client max body size is set to 10000M, and rustypaste's max_content_lenght is set to 5000M

repomansez commented 2 weeks ago

Update: while testing I tried pasting a file that was roughly 350M and I got a cloudflare "Request Entity is too large" error, so this may be nothing but cloudflare being ass :(

orhun commented 2 weeks ago

ah damn :/

let me know if this is a rustypaste-related issue and we can look into it.