Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
net/http: http2 addConnIfNeeded with the same key multiple. #42762
Before, I file the issue: #42662 .
I'm trying to make why the HTTP client retries again and again and why the fd get high.
I compiled with this commit: xiekeyi98@a8c91a2
and the debug message makes me confused.
I was wondering if someone may help me to make it clear? Why it retry with the same key(firmacct.html5.qq.com:443) again and again?
Thank you for your kindly help. I would like to know if it is necessary to retry with more than one handle, the default client timeout is unlimited, which causes the handles to be easily exhausted.
Again, look at what is actually happening. You are sending a request but the reply is an immediate RST_STREAM with REFUSED_STREAM.
Per 8.1.4 of the http2 spec:
Thank for your help again.I will close the issue.…
在 2020年11月25日，12:45，Michael Fraenkel ***@***.***> 写道： Again, look at what is actually happening. You are sending a request but the reply is an immediate RST_STREAM with REFUSED_STREAM. Per 8.1.4 of the http2 spec: Requests that have not been processed have not failed; clients MAY automatically retry them, even those with non-idempotent methods. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.