8243246: HTTP Client sometimes gets java.io.IOException -> Invalid chunk header byte 32
Daniel Fuchs
daniel.fuchs at oracle.com
Fri Apr 24 15:14:01 UTC 2020
Hi Chris,
On 23/04/2020 19:36, Chris Hegarty wrote:
> How do you feel about adding a byte-at-a-time final scenario?
>
> static final List<String> REQ5_RESPONSE_BODY = List.of(
> "B", " ", "\r", "\n",
> "L", "o", "r", "e", "m", " ", "i", "p", "s", "u", "m", "\r" ,"\n",
> "0", ";", " ", "\r", "\n",
> "\r", "\n”);
Good idea!
I also added a delay for that case in the hope it will make it more
likely the byte-at-a-time delivery is preserved on the
client side.
http://cr.openjdk.java.net/~dfuchs/webrev_8243246/webrev.01/
best regards,
-- daniel
More information about the net-dev
mailing list