Couldn't it be Keep-Alive connections?
What if you add "Connection: close" header to every server response?
Or call SetKeepAlivesEnabled on
server https://golang.org/pkg/net/http/#Server.SetKeepAlivesEnabled
пятница, 29 июля 2016 г., 17:22:51 UTC+3 пользователь Manideep Attanti
написал:
>
> The
The open connections are either totally irrelevant, or are the _result_ of
whatever is causing the response time to increase.
Are you setting a reasonable ReadTimeout and WriteTimeout on your server?
Maybe slow/stalled clients are holding server resources?
On Friday, July 29, 2016 at 10:22:51