[go-nuts] Golang: http2 client immediately close connections via proxy while idleConn was enabled

2021-12-05 Thread zzk code
I'm using Go to implement an http client and squid as a forward proxy to send requests to remote servers. Things goes well when using http/1.1 via proxy or http/1.1, http2 without proxy, however, while using http2 client via proxy, most of the connections were closed immediately and only one o

[go-nuts] Re: Golang: http2 client immediately close connections via proxy while idleConn was enabled

2021-12-06 Thread zzk code
I had opened an issue on the Golang repo, in case anyone interested. net/http2: client immediately close most of connections via forward proxy even if idleConn was configured · Issue #5 · golang/go (github.com) 在2021年12月6日星期一 UTC+8 11:37:31 写道: >

[go-nuts] Re: Golang: http2 client immediately close connections via proxy while idleConn was enabled

2021-12-12 Thread zzk code
Finally, I figure it out and everything is working as expected, so it's nothing to do with net/http2. For more details, please refer to this issue: https://github.com/golang/go/issues/5. And it's a nice issue number indeed :>. 在2021年12月7日星期二 UTC+8 18:33:34 写道: > nice issue number :) > > L