You most likely have to read the incoming data. Depends on the framework. The tcp connection is reused so if you don’t read all of the sent data then the next request will be corrupted. I am not sure why it works with small files - I guess that the framework is reading some of the data into the request body buffer - and if it reads the full request body in doing so that would explain it. On Aug 2, 2024, at 12:35 PM, Denis Korovin <krvn....@gmail.com> wrote: -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/22E935CC-E806-498F-8ECB-4487A6783965%40ix.netcom.com. |
- [go-nuts] Why do I get "The connection was reset" ... Denis Korovin
- Re: [go-nuts] Why do I get "The connection was res... Robert Engels
- Re: [go-nuts] Why do I get "The connection was... Robert Engels