Hi,

On Thu, Sep 22, 2022 at 2:14 PM Michał Niklas <[email protected]> wrote:
>
> Hi,
>
> Some time ago I upgraded from jetty 9.4.14.v20181114 to jetty 11
> (11.0.12). In Jetty 9 both HTTP, and HTTP/2 servers set HTTP_HOST
> environment variable that was used by some of our applications.
>   In Jetty 11 HTTP_HOST is set only by HTTP server.
>
> Is it by design or by accident (bug)? I haven't found any notice about
> this in change log.

Jetty does not set any environment variable (looks like a FastCGI variable?).

However, in Jetty 10+ you need to add the HostHeaderCustomizer.

See:
https://github.com/eclipse/jetty.project/issues/5304

-- 
Simone Bordet
---
Finally, no matter how good the architecture and design are,
to deliver bug-free software with optimal performance and reliability,
the implementation technique must be flawless.   Victoria Livschitz
_______________________________________________
jetty-users mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to