-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Allow to configure HttpClient request authority #5633
Comments
For HTTP/2 this has a direct translation to the For HTTP/1.1 should the authority be used as the |
+1 for having the |
Fixed initial session recv window update: it was wrong if the initial value was less than the default value (65535). Signed-off-by: Simone Bordet <[email protected]>
Updated after review. Added more tests. Signed-off-by: Simone Bordet <[email protected]>
…figure_authority Fixes #5633 - Allow to configure HttpClient request authority.
@sbordet could you provide hints how to set :authority pseudo header with jetty client (v12)? My requests are proxied by envoy and it expects the :authority header to contains desired destination. Your inital comment mentions a |
@moscicky Jetty 9 (what this Issue is for) is now at End of Community Support.
Also, please don't resurrect old issues. |
Jetty version
9.4.x
Description
When
HttpClient
is used in a proxy, it may connect to backend servers using a destination that is different from the authority that the remote client used.For example, the
HttpClient
in the proxy may choose to connect to the backend server at1.2.3.4:5678
while the client sent the request tofoo.bar.com:80
.Would be great to be able to specify the
authority
of the request independently from the destination, along these lines:The text was updated successfully, but these errors were encountered: