Hi Simone, ok, I guess I understood this now. If the server is configured to do ALPN, there is no way to talk to it directly. Because I control both sides, I can make this work, but for people who want to talk to a server which supports h2 via alpn, the only way is to do alpn.
Thanks Fabian On Fri, Mar 18, 2016 at 12:07 PM, Simone Bordet <[email protected]> wrote: > Hi, > > On Fri, Mar 18, 2016 at 11:36 AM, Fabian Lange <[email protected]> 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. > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users _______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
