Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] http2 client - push promise question

Hi,

I am HTTP2 newbie and I am trying to use Http2Client (9.4.1.v20170120) which could handle server push promise. I am experimenting with [1] page and I am able to observe "org.eclipse.jetty.http2.api.Stream.Listener.Adapter#onPush" but the given stream is always reset afterwards with cancel error code. Looking at org.eclipse.jetty.http2.parser.PushPromiseBodyParser it seems it's always reset because the paddingLength is 0. Can anybody explain please? What should I do to get all streams with pushed resources? Is there any code example available.

Thanks in advance.

[1] https://http2.akamai.com/demo/h2_demo_frame.html
-- 
Tomas Remes




Back to the top