netty5/example/src/main
Norman Maurer be7c808ce1 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 https://github.com/netty/netty/issues/9115.
2019-05-27 16:04:04 +02:00
..
java/io/netty/example Set the HOST header in Http2ClientInitializer when trying to start an upgrade request (#9177) 2019-05-27 16:04:04 +02:00
resources fix the typos 2017-04-20 04:56:09 +02:00