You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m trying to understand the intended contract around ForceAttemptHTTP2 in confighttp.ClientConfig.
As I read the code today:
ForceAttemptHTTP2 defaults to true
MaxConnsPerHost, MaxIdleConnsPerHost, and MaxIdleConns are documented as unsupported under HTTP/2
These fields are still accepted in config but have no effect when HTTP/2 is used
There’s no runtime warning or validation when these options are set together
Is my understanding of the current behavior correct, and is it intended to be doc-only, or should users expect some runtime signal when HTTP/2 is enabled and these options are set?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I’m trying to understand the intended contract around ForceAttemptHTTP2 in confighttp.ClientConfig.
As I read the code today:
Is my understanding of the current behavior correct, and is it intended to be doc-only, or should users expect some runtime signal when HTTP/2 is enabled and these options are set?
Code references
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions