Hey

I am trying to use http2 using http Client 5.0 alpha 2. I copied example
from
https://hc.apache.org/httpcomponents-client-5.0.x/httpclient5/examples/org/apache/hc/client5/http/examples/AsyncClientHttp2ServerPush.java
to see what all should I take care in my code.
But I am unable to make this example code work. I have tried different URLs
in example like https://google.com.

But example itself fails with "Frame size exceeds maximum" in default size
and "org.apache.hc.core5.http2.H2CorruptFrameException: Corrupt or
incomplete HTTP2 frame" when I increase the frame.

I read the code by following stack trace but did not get what should be
done.
I am sure if it has seen tried by many already. So, could someone suggest

Regards
Manik Singla
+91-9996008893
+91-9665639677

"Life doesn't consist in holding good cards but playing those you hold
well."

Reply via email to