-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outbound http connections to destinations are configurable #282
Comments
Runtime feature: Enables control of the version to prevent connections from being downgraded. |
A partner requires this for use with IHttpProxy because they prefer HTTP/1.1 for their scenarios. We currently default to HTTP/2. Proposal:
This would also address #319 (configurable timeouts). Make the http version and version policy (5.0 only) available on the options and then use them when constructing requests in HttpProxy. Should the version property be nullable to allow you to preserve the incoming request version? |
The version policy should also be added to the RequestParametersTransformContext so it can be customized by transforms. reverse-proxy/src/ReverseProxy/Service/RuntimeModel/Transforms/RequestParametersTransformContext.cs Line 22 in 6311df4
|
dotnet/runtime#987
The text was updated successfully, but these errors were encountered: