I have a HTTP client(fasthttp) and a HTTP server(gin). When sending big POST request(Content-Length 70K-100K, Content-Type: application/json), sometimes the client encounters error "write: broken pipe".
With ngrep, I found the server returns TCP RST to the client. There is not any error log on the server side. And sometimes it works well with no error.
What is the problem? What can I do to prevent this?