Hello everybody,
I’m operating into a problem with my Go server when making an attempt to add information round 10MB utilizing a easy file add kind. In my browser, I’m seeing a “The connection was reset” error, and I’m undecided what’s inflicting this drawback or the right way to repair it.
Right here’s my present setup: https://go.dev/play/p/7TVn-njfeiH
Once I try to add a file round 10MB by way of this type, the browser provides me a “The connection was reset” error. I’ve verified that smaller information add with none points.
My uploadHandler
presently does nothing however ship a 200 OK standing. Ideally, I’d wish to course of the file add with out studying it completely into reminiscence, to deal with bigger file uploads effectively.
Can anybody assist me perceive why I’m getting this error and the right way to correctly deal with massive file uploads with out studying them fully into reminiscence? Any steering or examples could be drastically appreciated.
Thanks upfront!
There may be an article explaining importing in particulars. It would assist together with your state of affairs