Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] How to use HTTP2Client

I am trying to use the HTTP2Client from 9.3.0.M2 but without success so
far. When I use the example provided in:
https://github.com/eclipse/jetty.project/blob/jetty-http2/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/Client.java
I get a TimeOutException on line 55. If I switch to my own Jetty based
HTTP/2 server, or if I try to connect to google.com over HTTP2, the code
runs. But none of the callbacks get called, so I don't see any data.

Should that code run as-is, or am I missing something?

Thanks!


Back to the top