I noticed that there's a regression in httpclient 5.4's support for H2C (HTTP/2 over cleartext). Previously, you could create a minimal async client with an HttpVersionPolicy of FORCE_HTTP_2, and this option would take effect even over non-TLS connections. In 5.4, it looks like this option got moved into TlsConfig and is now ignored when establishing a plaintext connection. Furthermore, although it's possible to call Http1Config.setVersion(HttpVersion.HTTP_2), this fails at runtime with an IllegalArgumentException. Is there currently any way to configure httpclient 5.4.x for H2C?
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org