Re: [go-nuts] Re: View http open connections

2019-02-13 Thread Kevin Conway
> Does anyone know a way of getting current open connections? You might consider using https://golang.org/pkg/net/http/#Server.ConnState for this instead of a middleware for the http.Handler. The different connection states are documented on https://golang.org/pkg/net/http/#ConnState and the

[go-nuts] Re: View http open connections

2019-02-13 Thread Dany Xu
what does it means "heavy load"? if not in "heavy load", it can work ? On the other hand, do you want the tcp connections or the http req numbers? >From the go package, it appears that getting the basic tcp connections in http.server is impossible. 在 2019年2月12日星期二