Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set the HOST header in Http2ClientInitializer when trying to start an…
… upgrade request (#9177) Motivation: The io.netty.example.http2.helloworld.client.Http2Client example should work in the h2c (HTTP2 cleartext - non-TLS) mode, which is the default for this example unless you set a -Dssl VM param. As we do not set the HOST header some servers do reject the upgrade request. Modifications: Set the HOST header Result: Fixes #9115.
- Loading branch information