My requirement is to keep all connections to http2 server alive and the server requires PING frame to keep-alive. To keep it simple I would like to use net/http library.
I notice net/http has the connection pool ( https://pkg.go.dev/net/http#Transport ) and golang.org/x/net/http2 offers the keep-alive via PING frame( https://github.com/mitmproxy/mitmproxy/issues/504 <https://github.com/mitmproxy/mitmproxy/issues/5046>6). I wonder if the net/http library uses http2pool and keep all conn via http2 PING. I cannot find the document specifying alse I would like to know how to test this feature. -- 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/7cb7dcd2-2912-4e6c-b6db-a950de8e892cn%40googlegroups.com.