Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Connecting to Jetty 9.3.8 http2 connector without ALPN

Hi,

On Fri, Mar 18, 2016 at 11:36 AM, Fabian Lange <lange.fabian@xxxxxxxxx> wrote:
> Hi Simone,
> thanks for having a look.
> In my case I am not even needing the HttpClientTransportOverHTTP2, I
> want to directly use HTTP2Client:
>
> https://gist.github.com/CodingFabian/aed1c975104ccef3ceb2

You said you wanted to be higher level than that !

> As I read your comment, this somehow should work, right?

Yes, because you went down a layer, closer to the network, it will work fine.
Just remember to setup the server in a way that does not do ALPN (or
at least it falls back to HTTP/2).
See the commit of the issue I mentioned: it contains a test that sets
up a server with HTTP/2 only (no ALPN).

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.


Back to the top